/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
H A D | reflection.cpp | 398 // Translate a glslang sampler type into the GL API #define number. 400 int mapSamplerToGlType(TSampler sampler) argument 402 if (! sampler.image) { 403 // a sampler... 404 switch (sampler.type) { 406 switch ((int)sampler.dim) { 408 switch ((int)sampler.shadow) { 409 case false: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY : GL_SAMPLER_1D; 410 case true: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY_SHADOW : GL_SAMPLER_1D_SHADOW; 413 switch ((int)sampler [all...] |
H A D | glslang.y | 139 // combined image/sampler 153 // pure sampler 156 // texture without sampler 1596 $$.sampler.set(EbtFloat, Esd1D); 1601 $$.sampler.set(EbtFloat, Esd2D); 1606 $$.sampler.set(EbtFloat, Esd3D); 1611 $$.sampler.set(EbtFloat, EsdCube); 1616 $$.sampler.set(EbtFloat, Esd1D, false, true); 1621 $$.sampler.set(EbtFloat, Esd2D, false, true); 1626 $$.sampler [all...] |
H A D | Initialize.cpp | 2413 for (int image = 0; image <= 1; ++image) { // loop over "bool" image vs sampler 2461 TSampler sampler; local 2463 sampler.setSubpass(bTypes[bType], ms ? true : false); 2465 sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, 2469 sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, 2474 TString typeName = sampler.getString(); 2477 addSubpassSampling(sampler, typeName, version, profile); 2481 addQueryFunctions(sampler, typeName, version, profile); 2484 addImageFunctions(sampler, typeName, version, profile); 2486 addSamplingFunctions(sampler, typeNam 2511 addQueryFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2588 addImageFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2681 addSubpassSampling(TSampler sampler, TString& typeName, int , EProfile ) argument 2698 addSamplingFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2929 addGatherFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument [all...] |
H A D | SymbolTable.cpp | 70 switch (sampler.type) { 75 if (sampler.image) 77 else if (sampler.sampler) 78 mangledName += "p"; // a "pure" sampler 79 else if (!sampler.combined) 82 mangledName += "s"; // traditional combined sampler 83 if (sampler.arrayed) 85 if (sampler.shadow) 87 if (sampler [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
H A D | reflection.cpp | 398 // Translate a glslang sampler type into the GL API #define number. 400 int mapSamplerToGlType(TSampler sampler) argument 402 if (! sampler.image) { 403 // a sampler... 404 switch (sampler.type) { 406 switch ((int)sampler.dim) { 408 switch ((int)sampler.shadow) { 409 case false: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY : GL_SAMPLER_1D; 410 case true: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY_SHADOW : GL_SAMPLER_1D_SHADOW; 413 switch ((int)sampler [all...] |
H A D | glslang.y | 139 // combined image/sampler 153 // pure sampler 156 // texture without sampler 1596 $$.sampler.set(EbtFloat, Esd1D); 1601 $$.sampler.set(EbtFloat, Esd2D); 1606 $$.sampler.set(EbtFloat, Esd3D); 1611 $$.sampler.set(EbtFloat, EsdCube); 1616 $$.sampler.set(EbtFloat, Esd1D, false, true); 1621 $$.sampler.set(EbtFloat, Esd2D, false, true); 1626 $$.sampler [all...] |
H A D | Initialize.cpp | 2413 for (int image = 0; image <= 1; ++image) { // loop over "bool" image vs sampler 2461 TSampler sampler; local 2463 sampler.setSubpass(bTypes[bType], ms ? true : false); 2465 sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, 2469 sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, 2474 TString typeName = sampler.getString(); 2477 addSubpassSampling(sampler, typeName, version, profile); 2481 addQueryFunctions(sampler, typeName, version, profile); 2484 addImageFunctions(sampler, typeName, version, profile); 2486 addSamplingFunctions(sampler, typeNam 2511 addQueryFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2588 addImageFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2681 addSubpassSampling(TSampler sampler, TString& typeName, int , EProfile ) argument 2698 addSamplingFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument 2929 addGatherFunctions(TSampler sampler, TString& typeName, int version, EProfile profile) argument [all...] |
H A D | SymbolTable.cpp | 70 switch (sampler.type) { 75 if (sampler.image) 77 else if (sampler.sampler) 78 mangledName += "p"; // a "pure" sampler 79 else if (!sampler.combined) 82 mangledName += "s"; // traditional combined sampler 83 if (sampler.arrayed) 85 if (sampler.shadow) 87 if (sampler [all...] |
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
H A D | Types.h | 57 // Details within a sampler type 71 struct TSampler { // misnomer now; includes images, textures without sampler, and textures with sampler 72 TBasicType type : 8; // type returned by sampler 78 bool combined : 1; // true means texture is combined with a sampler, false means texture with no sampler 79 bool sampler : 1; // true means a pure sampler, other fields should be clear() member in struct:glslang::TSampler 85 bool isPureSampler() const { return sampler; } 86 bool isTexture() const { return !sampler 980 TSampler sampler; member in class:glslang::TPublicType 1086 TType(const TSampler& sampler, TStorageQualifier q = EvqUniform, TArraySizes* as = nullptr) argument 1727 TSampler sampler; member in class:glslang::TType [all...] |
H A D | intermediate.h | 781 void crackTexture(TSampler sampler, TCrackedTextureOp& cracked) const argument 830 if (sampler.dim == Esd1D || (sampler.dim == Esd2D && ! sampler.ms) || sampler.dim == Esd3D) 837 if (sampler.dim == Esd1D || (sampler.dim == Esd2D && ! sampler.ms) || sampler.dim == Esd3D)
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
H A D | Types.h | 57 // Details within a sampler type 71 struct TSampler { // misnomer now; includes images, textures without sampler, and textures with sampler 72 TBasicType type : 8; // type returned by sampler 78 bool combined : 1; // true means texture is combined with a sampler, false means texture with no sampler 79 bool sampler : 1; // true means a pure sampler, other fields should be clear() member in struct:glslang::TSampler 85 bool isPureSampler() const { return sampler; } 86 bool isTexture() const { return !sampler 980 TSampler sampler; member in class:glslang::TPublicType 1086 TType(const TSampler& sampler, TStorageQualifier q = EvqUniform, TArraySizes* as = nullptr) argument 1727 TSampler sampler; member in class:glslang::TType [all...] |
H A D | intermediate.h | 781 void crackTexture(TSampler sampler, TCrackedTextureOp& cracked) const argument 830 if (sampler.dim == Esd1D || (sampler.dim == Esd2D && ! sampler.ms) || sampler.dim == Esd3D) 837 if (sampler.dim == Esd1D || (sampler.dim == Esd2D && ! sampler.ms) || sampler.dim == Esd3D)
|
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
H A D | GlslangToSpv.cpp | 261 // Translate glslang sampler type to SPIR-V dimensionality. 262 spv::Dim TranslateDimensionality(const glslang::TSampler& sampler) argument 264 switch (sampler.dim) { 612 // basically samplerXXX/subpass/sampler/texture are all included 1779 spv::Id TGlslangToSpvTraverser::getSampledType(const glslang::TSampler& sampler) argument 1781 switch (sampler.type) { 1845 const glslang::TSampler& sampler = type.getSampler(); local 1846 if (sampler.sampler) { 1847 // pure sampler 2386 glslang::TSampler sampler = {}; local 2485 const glslang::TSampler sampler = node->getAsAggregate() ? node->getAsAggregate()->getSequence()[0]->getAsTyped()->getType().getSampler() local [all...] |
/prebuilts/ndk/current/sources/third_party/vulkan/glslang/SPIRV/ |
H A D | GlslangToSpv.cpp | 261 // Translate glslang sampler type to SPIR-V dimensionality. 262 spv::Dim TranslateDimensionality(const glslang::TSampler& sampler) argument 264 switch (sampler.dim) { 612 // basically samplerXXX/subpass/sampler/texture are all included 1779 spv::Id TGlslangToSpvTraverser::getSampledType(const glslang::TSampler& sampler) argument 1781 switch (sampler.type) { 1845 const glslang::TSampler& sampler = type.getSampler(); local 1846 if (sampler.sampler) { 1847 // pure sampler 2386 glslang::TSampler sampler = {}; local 2485 const glslang::TSampler sampler = node->getAsAggregate() ? node->getAsAggregate()->getSequence()[0]->getAsTyped()->getType().getSampler() local [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
H A D | GlslangToSpv.cpp | 261 // Translate glslang sampler type to SPIR-V dimensionality. 262 spv::Dim TranslateDimensionality(const glslang::TSampler& sampler) argument 264 switch (sampler.dim) { 612 // basically samplerXXX/subpass/sampler/texture are all included 1779 spv::Id TGlslangToSpvTraverser::getSampledType(const glslang::TSampler& sampler) argument 1781 switch (sampler.type) { 1845 const glslang::TSampler& sampler = type.getSampler(); local 1846 if (sampler.sampler) { 1847 // pure sampler 2386 glslang::TSampler sampler = {}; local 2485 const glslang::TSampler sampler = node->getAsAggregate() ? node->getAsAggregate()->getSequence()[0]->getAsTyped()->getType().getSampler() local [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/glslang/SPIRV/ |
H A D | GlslangToSpv.cpp | 261 // Translate glslang sampler type to SPIR-V dimensionality. 262 spv::Dim TranslateDimensionality(const glslang::TSampler& sampler) argument 264 switch (sampler.dim) { 612 // basically samplerXXX/subpass/sampler/texture are all included 1779 spv::Id TGlslangToSpvTraverser::getSampledType(const glslang::TSampler& sampler) argument 1781 switch (sampler.type) { 1845 const glslang::TSampler& sampler = type.getSampler(); local 1846 if (sampler.sampler) { 1847 // pure sampler 2386 glslang::TSampler sampler = {}; local 2485 const glslang::TSampler sampler = node->getAsAggregate() ? node->getAsAggregate()->getSequence()[0]->getAsTyped()->getType().getSampler() local [all...] |
/prebuilts/ndk/current/sources/android/ndk_helper/ |
H A D | gl3stub.c | 448 GL_APICALL GLboolean (* GL_APIENTRY glIsSampler)( GLuint sampler ); 449 GL_APICALL void (* GL_APIENTRY glBindSampler)( GLuint unit, GLuint sampler ); 450 GL_APICALL void (* GL_APIENTRY glSamplerParameteri)( GLuint sampler, 453 GL_APICALL void (* GL_APIENTRY glSamplerParameteriv)( GLuint sampler, 456 GL_APICALL void (* GL_APIENTRY glSamplerParameterf)( GLuint sampler, 459 GL_APICALL void (* GL_APIENTRY glSamplerParameterfv)( GLuint sampler, 462 GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv)( GLuint sampler, 465 GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv)( GLuint sampler,
|
H A D | gl3stub.h | 476 extern GL_APICALL GLboolean (* GL_APIENTRY glIsSampler) (GLuint sampler); 477 extern GL_APICALL void (* GL_APIENTRY glBindSampler) (GLuint unit, GLuint sampler); 478 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteri) (GLuint sampler, GLenum pname, GLint param); 479 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteriv) (GLuint sampler, GLenum pname, const GLint* param); 480 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterf) (GLuint sampler, GLenum pname, GLfloat param); 481 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterfv) (GLuint sampler, GLenum pname, const GLfloat* param); 482 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv) (GLuint sampler, GLenum pname, GLint* params); 483 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv) (GLuint sampler, GLenum pname, GLfloat* params);
|
/prebuilts/ndk/r11/sources/android/ndk_helper/ |
H A D | gl3stub.c | 448 GL_APICALL GLboolean (* GL_APIENTRY glIsSampler)( GLuint sampler ); 449 GL_APICALL void (* GL_APIENTRY glBindSampler)( GLuint unit, GLuint sampler ); 450 GL_APICALL void (* GL_APIENTRY glSamplerParameteri)( GLuint sampler, 453 GL_APICALL void (* GL_APIENTRY glSamplerParameteriv)( GLuint sampler, 456 GL_APICALL void (* GL_APIENTRY glSamplerParameterf)( GLuint sampler, 459 GL_APICALL void (* GL_APIENTRY glSamplerParameterfv)( GLuint sampler, 462 GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv)( GLuint sampler, 465 GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv)( GLuint sampler,
|
H A D | gl3stub.h | 476 extern GL_APICALL GLboolean (* GL_APIENTRY glIsSampler) (GLuint sampler); 477 extern GL_APICALL void (* GL_APIENTRY glBindSampler) (GLuint unit, GLuint sampler); 478 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteri) (GLuint sampler, GLenum pname, GLint param); 479 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteriv) (GLuint sampler, GLenum pname, const GLint* param); 480 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterf) (GLuint sampler, GLenum pname, GLfloat param); 481 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterfv) (GLuint sampler, GLenum pname, const GLfloat* param); 482 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv) (GLuint sampler, GLenum pname, GLint* params); 483 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv) (GLuint sampler, GLenum pname, GLfloat* params);
|
/prebuilts/ndk/r13/sources/android/ndk_helper/ |
H A D | gl3stub.c | 448 GL_APICALL GLboolean (* GL_APIENTRY glIsSampler)( GLuint sampler ); 449 GL_APICALL void (* GL_APIENTRY glBindSampler)( GLuint unit, GLuint sampler ); 450 GL_APICALL void (* GL_APIENTRY glSamplerParameteri)( GLuint sampler, 453 GL_APICALL void (* GL_APIENTRY glSamplerParameteriv)( GLuint sampler, 456 GL_APICALL void (* GL_APIENTRY glSamplerParameterf)( GLuint sampler, 459 GL_APICALL void (* GL_APIENTRY glSamplerParameterfv)( GLuint sampler, 462 GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv)( GLuint sampler, 465 GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv)( GLuint sampler,
|
H A D | gl3stub.h | 476 extern GL_APICALL GLboolean (* GL_APIENTRY glIsSampler) (GLuint sampler); 477 extern GL_APICALL void (* GL_APIENTRY glBindSampler) (GLuint unit, GLuint sampler); 478 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteri) (GLuint sampler, GLenum pname, GLint param); 479 extern GL_APICALL void (* GL_APIENTRY glSamplerParameteriv) (GLuint sampler, GLenum pname, const GLint* param); 480 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterf) (GLuint sampler, GLenum pname, GLfloat param); 481 extern GL_APICALL void (* GL_APIENTRY glSamplerParameterfv) (GLuint sampler, GLenum pname, const GLfloat* param); 482 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameteriv) (GLuint sampler, GLenum pname, GLint* params); 483 extern GL_APICALL void (* GL_APIENTRY glGetSamplerParameterfv) (GLuint sampler, GLenum pname, GLfloat* params);
|
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/hlsl/ |
H A D | hlslGrammar.cpp | 138 parseContext.warn(token.loc, "unimplemented", "immediate sampler state", ""); 220 unimplemented("Direct3D 9 sampler declaration"); 222 // read sampler name 225 expected("sampler name"); 242 // | fully_specified_type identifier sampler_state post_decls compound_statement // sampler definition 271 // DX9 sampler declaration use a different syntax 318 // samplers accept immediate sampler state 661 // read sampler type 675 return false; // not a sampler declaration 678 advanceToken(); // consume the sampler typ 683 TSampler sampler; local 779 TSampler sampler; local [all...] |
/prebuilts/ndk/current/sources/third_party/vulkan/src/build-android/generated/common/ |
H A D | descriptor_sets.cpp | 247 // Verify next consecutive binding matches type, stage flags & immutable sampler use 347 // Nothing to do for strictly immutable sampler 591 bool cvdescriptorset::ValidateSampler(const VkSampler sampler, 593 return (sampler_map->count(sampler) != 0); 692 sampler_ = update->pImageInfo[index].sampler; 724 sampler_ = image_info.sampler; 968 error_str << "Attempted write update to combined image sampler descriptor failed due to: " << error->c_str(); 973 // Intentional fall-through to validate sampler 978 if (!ValidateSampler(update->pImageInfo[di].sampler, sampler_map_)) { 980 error_str << "Attempted write update to sampler descripto [all...] |
/prebuilts/ndk/current/sources/third_party/vulkan/src/build-android/generated/layer-src/core_validation/ |
H A D | descriptor_sets.cpp | 247 // Verify next consecutive binding matches type, stage flags & immutable sampler use 347 // Nothing to do for strictly immutable sampler 591 bool cvdescriptorset::ValidateSampler(const VkSampler sampler, 593 return (sampler_map->count(sampler) != 0); 692 sampler_ = update->pImageInfo[index].sampler; 724 sampler_ = image_info.sampler; 968 error_str << "Attempted write update to combined image sampler descriptor failed due to: " << error->c_str(); 973 // Intentional fall-through to validate sampler 978 if (!ValidateSampler(update->pImageInfo[di].sampler, sampler_map_)) { 980 error_str << "Attempted write update to sampler descripto [all...] |