/third_party/glslang/Test/ |
D | spv.specConstant.vert | 3 layout(constant_id = 16) const int arraySize = 5; 6 layout(constant_id = 17) const bool spBool = true; 7 layout(constant_id = 18) const float spFloat = 3.14; 8 layout(constant_id = 19) const double spDouble = 3.1415926535897932384626433832795; 9 layout(constant_id = 22) const uint scale = 2; 11 layout(constant_id = 24) gl_MaxImageUnits; 30 layout(constant_id = 116) const int dupArraySize = 12; 33 layout(constant_id = 117) const bool spDupBool = true; 34 layout(constant_id = 118) const float spDupFloat = 3.14; 35 layout(constant_id = 119) const double spDupDouble = 3.1415926535897932384626433832795; [all …]
|
D | vulkan.vert | 12 layout(constant_id = 17) const ivec2 arraySizes = ivec2(12,13); // ERROR, not a scalar 13 layout(constant_id = 17) uniform sampler2D s2D; // ERROR, not the right type or … 14 layout(constant_id = 4000) const int c1 = 12; // ERROR, too big 15 layout(constant_id = 4) const float c2[2] = float[2](1.0, 2.0); // ERROR, not a scalar 16 layout(constant_id = 4) in; 27 layout(constant_id=222) const int arraySize = 4; 67 layout(constant_id = 400) const int nonLit = 1; 77 layout(constant_id = nonLit) vec4 nonLit4; // ERROR, non literal
|
D | spv.specConstantOperations.vert | 3 layout(constant_id = 200) const float sp_float = 3.1415926; 4 layout(constant_id = 201) const int sp_int = 10; 5 layout(constant_id = 202) const uint sp_uint = 100; 6 layout(constant_id = 203) const int sp_sint = -10; 7 layout(constant_id = 204) const double sp_double = 2.718281828459; 114 layout(constant_id = 210) const int a = 4; 115 layout(constant_id = 211) const int b = 6; 116 layout(constant_id = 212) const bool c = true;
|
D | spv.specConstantComposite.vert | 3 // constant_id specified scalar spec constants 4 layout(constant_id = 200) const int spec_int = 3; 5 layout(constant_id = 201) const float spec_float = 3.14; 6 layout(constant_id = 202) const 8 layout(constant_id = 203) const bool spec_bool = true;
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
D | typed_id_test.cpp | 10 ConstantID constant_id = 30; in main() local 15 constant_id = 60; in main() 20 ID generic_constant_id = constant_id; in main() 25 generic_constant_id = constant_id; in main() 30 constant_id = generic_constant_id; in main() 36 a = constant_id; in main() 44 constant_id = ConstantID(10); in main()
|
/third_party/glslang/Test/baseResults/ |
D | vulkan.vert.out | 15 ERROR: 0:12: 'constant_id' : can only be applied to a scalar 16 ERROR: 0:13: 'constant_id' : specialization-constant id already used 18 ERROR: 0:13: 'constant_id' : can only be applied to 'const'-qualified scalar 19 ERROR: 0:13: 'constant_id' : cannot be applied to this type 20 ERROR: 0:14: 'constant_id' : specialization-constant id is too large 21 ERROR: 0:15: 'constant_id' : can only be applied to a scalar 22 ERROR: 0:16: 'constant_id' : specialization-constant id already used 23 ERROR: 0:16: 'constant_id' : cannot declare a default, can only be used on a scalar 53 ERROR: 0:77: 'constant_id' : needs a literal integer 54 ERROR: 0:77: 'constant_id' : can only be applied to 'const'-qualified scalar [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/vulkan/frag/ |
D | spec-constant.msl11.vk.frag | 5 layout(constant_id = 1) const float a = 1.0; 6 layout(constant_id = 2) const float b = 2.0; 7 layout(constant_id = 3) const int c = 3; 8 layout(constant_id = 4) const int d = 4; 9 layout(constant_id = 5) const uint e = 5u; 10 layout(constant_id = 6) const uint f = 6u; 11 layout(constant_id = 7) const bool g = false; 12 layout(constant_id = 8) const bool h = true;
|
D | spec-constant.vk.frag | 5 layout(constant_id = 1) const float a = 1.0; 6 layout(constant_id = 2) const float b = 2.0; 7 layout(constant_id = 3) const int c = 3; 8 layout(constant_id = 4) const int d = 4; 9 layout(constant_id = 5) const uint e = 5u; 10 layout(constant_id = 6) const uint f = 6u; 11 layout(constant_id = 7) const bool g = false; 12 layout(constant_id = 8) const bool h = true;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/frag/ |
D | spec-constant.frag | 5 layout(constant_id = 1) const float a = 1.0; 6 layout(constant_id = 2) const float b = 2.0; 7 layout(constant_id = 3) const int c = 3; 8 layout(constant_id = 4) const int d = 4; 9 layout(constant_id = 5) const uint e = 5u; 10 layout(constant_id = 6) const uint f = 6u; 11 layout(constant_id = 7) const bool g = false; 12 layout(constant_id = 8) const bool h = true;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-reflection/frag/ |
D | spec-constant.vk.frag | 5 layout(constant_id = 1) const float a = 1.5; 6 layout(constant_id = 2) const float b = 2.5; 7 layout(constant_id = 3) const int c = 3; 8 layout(constant_id = 4) const int d = 4; 9 layout(constant_id = 5) const uint e = 5u; 10 layout(constant_id = 6) const uint f = 6u; 11 layout(constant_id = 7) const bool g = false; 12 layout(constant_id = 8) const bool h = true;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/vulkan/frag/ |
D | spec-constant.vk.frag | 5 layout(constant_id = 1) const float a = 1.0; 6 layout(constant_id = 2) const float b = 2.0; 7 layout(constant_id = 3) const int c = 3; 8 layout(constant_id = 4) const int d = 4; 9 layout(constant_id = 5) const uint e = 5u; 10 layout(constant_id = 6) const uint f = 6u; 11 layout(constant_id = 7) const bool g = false; 12 layout(constant_id = 8) const bool h = true;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/comp/ |
D | spec-constant-op-member-array.comp | 4 layout(constant_id = 0) const int a = 100; 5 layout(constant_id = 1) const int b = 200; 6 layout(constant_id = 2) const int c = 300; 8 layout(constant_id = 3) const int e = 400;
|
/third_party/skia/third_party/externals/spirv-cross/shaders/vulkan/comp/ |
D | spec-constant-op-member-array.vk.comp | 4 layout(constant_id = 0) const int a = 100; 5 layout(constant_id = 1) const int b = 200; 6 layout(constant_id = 2) const int c = 300; 8 layout(constant_id = 3) const int e = 400;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/comp/ |
D | spec-constant-op-member-array.comp | 4 layout(constant_id = 0) const int a = 100; 5 layout(constant_id = 1) const int b = 200; 6 layout(constant_id = 2) const int c = 300; 8 layout(constant_id = 3) const int e = 400;
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/vulkan/comp/ |
D | spec-constant-op-member-array.vk.comp.vk | 4 layout(constant_id = 0) const int a = 100; 5 layout(constant_id = 1) const int b = 200; 19 layout(constant_id = 2) const int c = 300; 21 layout(constant_id = 3) const int e = 400;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/vulkan/comp/ |
D | spec-constant-op-member-array.vk.comp.vk | 4 layout(constant_id = 0) const int a = 100; 5 layout(constant_id = 1) const int b = 200; 19 layout(constant_id = 2) const int c = 300; 21 layout(constant_id = 3) const int e = 400;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/comp/ |
D | specialization-constant-evaluation.comp | 5 layout(constant_id = 0) const bool TRUE = true; 6 layout(constant_id = 1) const bool FALSE = false; 7 layout(constant_id = 2) const int SONE = 1; 8 layout(constant_id = 3) const int STWO = 2; 9 layout(constant_id = 4) const int SNEG_TWO = -2; 10 layout(constant_id = 5) const uint UONE = 1; 11 layout(constant_id = 6) const uint UTWO = 2; 12 layout(constant_id = 7) const int SNEG_THREE = -3;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/vulkan/frag/ |
D | spec-constant.vk.frag.vk | 5 layout(constant_id = 1) const float a = 1.0; 6 layout(constant_id = 2) const float b = 2.0; 7 layout(constant_id = 3) const int c = 3; 11 layout(constant_id = 4) const int d = 4; 16 layout(constant_id = 5) const uint e = 5u; 17 layout(constant_id = 6) const uint f = 6u; 27 layout(constant_id = 7) const bool g = false; 28 layout(constant_id = 8) const bool h = true;
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_pass_interchange_zero_like_constants.cpp | 71 uint32_t constant_id = constant->result_id(); in Apply() local 73 constant_id)) { in Apply() 89 TransformationRecordSynonymousConstants(constant_id, toggled_id)); in Apply() 94 constant_id, in Apply()
|
D | transformation_add_global_variable.cpp | 77 auto constant_id = ir_context->get_constant_mgr()->GetConstantsFromIds( in IsApplicable() local 79 if (constant_id.empty()) { in IsApplicable() 82 assert(constant_id.size() == 1 && in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_pass_interchange_zero_like_constants.cpp | 72 uint32_t constant_id = constant->result_id(); in Apply() local 74 constant_id)) { in Apply() 90 TransformationRecordSynonymousConstants(constant_id, toggled_id)); in Apply() 95 constant_id, in Apply()
|
D | transformation_add_global_variable.cpp | 77 auto constant_id = ir_context->get_constant_mgr()->GetConstantsFromIds( in IsApplicable() local 79 if (constant_id.empty()) { in IsApplicable() 82 assert(constant_id.size() == 1 && in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_interchange_zero_like_constants.cpp | 72 uint32_t constant_id = constant->result_id(); in Apply() local 74 constant_id)) { in Apply() 90 TransformationRecordSynonymousConstants(constant_id, toggled_id)); in Apply() 95 constant_id, in Apply()
|
D | transformation_add_global_variable.cpp | 77 auto constant_id = ir_context->get_constant_mgr()->GetConstantsFromIds( in IsApplicable() local 79 if (constant_id.empty()) { in IsApplicable() 82 assert(constant_id.size() == 1 && in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | scalar_constant.h | 100 is_spec_op == rhs.is_spec_op && constant_id == rhs.constant_id; 116 ret.constant_id = id; in AsSpecOp() 127 uint32_t constant_id = 0; member
|