/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | Format.cpp | 280 #define CASE(fmt) case fmt: return #fmt macro 286 CASE(DXGI_FORMAT_UNKNOWN); in FormatToName() 287 CASE(DXGI_FORMAT_R32G32B32A32_TYPELESS); in FormatToName() 288 CASE(DXGI_FORMAT_R32G32B32A32_FLOAT); in FormatToName() 289 CASE(DXGI_FORMAT_R32G32B32A32_UINT); in FormatToName() 290 CASE(DXGI_FORMAT_R32G32B32A32_SINT); in FormatToName() 291 CASE(DXGI_FORMAT_R32G32B32_TYPELESS); in FormatToName() 292 CASE(DXGI_FORMAT_R32G32B32_FLOAT); in FormatToName() 293 CASE(DXGI_FORMAT_R32G32B32_UINT); in FormatToName() 294 CASE(DXGI_FORMAT_R32G32B32_SIN in FormatToName() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | text_to_binary.annotation_test.cpp | 87 #define CASE(NAME) SpvDecoration##NAME, #NAME macro 94 {CASE(RelaxedPrecision), {}}, 95 {CASE(SpecId), {100}}, 96 {CASE(Block), {}}, 97 {CASE(BufferBlock), {}}, 98 {CASE(RowMajor), {}}, 99 {CASE(ColMajor), {}}, 100 {CASE(ArrayStride), {4}}, 101 {CASE(MatrixStride), {16}}, 102 {CASE(GLSLShare 154 #undef CASE global() macro 204 #define CASE global() macro 252 #undef CASE global() macro 262 #define CASE global() macro 275 #undef CASE global() macro 285 #define CASE global() macro 294 #undef CASE global() macro 308 #define CASE global() macro 319 #undef CASE global() macro 370 #define CASE global() macro 378 #undef CASE global() macro 464 #define CASE global() macro 516 #undef CASE global() macro [all...] |
H A D | text_to_binary.mode_setting_test.cpp | 67 #define CASE(ADDRESSING, MEMORY) \ macro 78 CASE(Logical,Simple), 79 CASE(Logical,GLSL450), 80 CASE(Physical32,OpenCL), 81 CASE(Physical64,OpenCL), 83 #undef CASE macro 119 #define CASE(NAME) SpvExecutionModel##NAME, #NAME macro 122 { CASE(Vertex), "" }, 123 { CASE(TessellationControl), "my tess" }, 124 { CASE(TessellationEvaluatio 130 #undef CASE global() macro 154 #define CASE global() macro 203 #undef CASE global() macro 228 #define CASE global() macro 286 #undef CASE global() macro [all...] |
H A D | text_to_binary.type_declaration_test.cpp | 50 #define CASE(NAME) {SpvDim##NAME, #NAME} macro 54 CASE(1D), 55 CASE(2D), 56 CASE(3D), 57 CASE(Cube), 58 CASE(Rect), 59 CASE(Buffer), 60 CASE(SubpassData), 62 #undef CASE macro 86 #define CASE(NAM macro 131 #undef CASE global() macro 155 #define CASE global() macro 164 #undef CASE global() macro 180 #define CASE global() macro 188 #undef CASE global() macro 198 #define CASE global() macro 222 #undef CASE global() macro [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | text_to_binary.annotation_test.cpp | 87 #define CASE(NAME) SpvDecoration##NAME, #NAME macro 94 {CASE(RelaxedPrecision), {}}, 95 {CASE(SpecId), {100}}, 96 {CASE(Block), {}}, 97 {CASE(BufferBlock), {}}, 98 {CASE(RowMajor), {}}, 99 {CASE(ColMajor), {}}, 100 {CASE(ArrayStride), {4}}, 101 {CASE(MatrixStride), {16}}, 102 {CASE(GLSLShare 154 #undef CASE global() macro 204 #define CASE global() macro 252 #undef CASE global() macro 262 #define CASE global() macro 275 #undef CASE global() macro 285 #define CASE global() macro 294 #undef CASE global() macro 308 #define CASE global() macro 319 #undef CASE global() macro 370 #define CASE global() macro 378 #undef CASE global() macro 464 #define CASE global() macro 516 #undef CASE global() macro [all...] |
H A D | text_to_binary.mode_setting_test.cpp | 67 #define CASE(ADDRESSING, MEMORY) \ macro 78 CASE(Logical,Simple), 79 CASE(Logical,GLSL450), 80 CASE(Physical32,OpenCL), 81 CASE(Physical64,OpenCL), 83 #undef CASE macro 119 #define CASE(NAME) SpvExecutionModel##NAME, #NAME macro 122 { CASE(Vertex), "" }, 123 { CASE(TessellationControl), "my tess" }, 124 { CASE(TessellationEvaluatio 130 #undef CASE global() macro 154 #define CASE global() macro 203 #undef CASE global() macro 228 #define CASE global() macro 286 #undef CASE global() macro [all...] |
H A D | text_to_binary.type_declaration_test.cpp | 50 #define CASE(NAME) {SpvDim##NAME, #NAME} macro 54 CASE(1D), 55 CASE(2D), 56 CASE(3D), 57 CASE(Cube), 58 CASE(Rect), 59 CASE(Buffer), 60 CASE(SubpassData), 62 #undef CASE macro 86 #define CASE(NAM macro 131 #undef CASE global() macro 155 #define CASE global() macro 164 #undef CASE global() macro 180 #define CASE global() macro 188 #undef CASE global() macro 198 #define CASE global() macro 222 #undef CASE global() macro [all...] |
/third_party/spirv-tools/test/ |
H A D | text_to_binary.annotation_test.cpp | 87 #define CASE(NAME) spv::Decoration::NAME, #NAME macro 94 {CASE(RelaxedPrecision), {}}, 95 {CASE(SpecId), {100}}, 96 {CASE(Block), {}}, 97 {CASE(BufferBlock), {}}, 98 {CASE(RowMajor), {}}, 99 {CASE(ColMajor), {}}, 100 {CASE(ArrayStride), {4}}, 101 {CASE(MatrixStride), {16}}, 102 {CASE(GLSLShare 155 #undef CASE global() macro 205 #define CASE global() macro 253 #undef CASE global() macro 263 #define CASE global() macro 276 #undef CASE global() macro 286 #define CASE global() macro 295 #undef CASE global() macro 309 #define CASE global() macro 320 #undef CASE global() macro 372 #define CASE global() macro 380 #undef CASE global() macro 469 #define CASE global() macro 521 #undef CASE global() macro [all...] |
H A D | text_to_binary.mode_setting_test.cpp | 67 #define CASE(ADDRESSING, MEMORY) \ macro 78 CASE(Logical,Simple), 79 CASE(Logical,GLSL450), 80 CASE(Physical32,OpenCL), 81 CASE(Physical64,OpenCL), 83 #undef CASE macro 119 #define CASE(NAME) spv::ExecutionModel::NAME, #NAME macro 122 { CASE(Vertex), "" }, 123 { CASE(TessellationControl), "my tess" }, 124 { CASE(TessellationEvaluatio 130 #undef CASE global() macro 154 #define CASE global() macro 203 #undef CASE global() macro 228 #define CASE global() macro 286 #undef CASE global() macro [all...] |
H A D | text_to_binary.type_declaration_test.cpp | 50 #define CASE(NAME) {spv::Dim::NAME, #NAME} macro 58 CASE(Cube), 59 CASE(Rect), 60 CASE(Buffer), 61 CASE(SubpassData), 62 CASE(TileImageDataEXT), 64 #undef CASE macro 89 #define CASE(NAME) {spv::ImageFormat::NAME, #NAME} macro 93 CASE(Unknown), 94 CASE(Rgba32 134 #undef CASE global() macro 159 #define CASE global() macro 168 #undef CASE global() macro 185 #define CASE global() macro 193 #undef CASE global() macro 203 #define CASE global() macro 228 #undef CASE global() macro [all...] |
/third_party/spirv-tools/source/ |
H A D | assembly_grammar.cpp | 91 #define CASE(NAME) { spv::Op::Op##NAME, #NAME } macro 94 CASE(SConvert), 95 CASE(FConvert), 96 CASE(ConvertFToS), 97 CASE(ConvertSToF), 98 CASE(ConvertFToU), 99 CASE(ConvertUToF), 100 CASE(UConvert), 101 CASE(ConvertPtrToU), 102 CASE(ConvertUToPt 165 #undef CASE global() macro [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | assembly_grammar.cpp | 90 #define CASE(NAME) { SpvOp##NAME, #NAME } macro 93 CASE(SConvert), 94 CASE(FConvert), 95 CASE(ConvertFToS), 96 CASE(ConvertSToF), 97 CASE(ConvertFToU), 98 CASE(ConvertUToF), 99 CASE(UConvert), 100 CASE(ConvertPtrToU), 101 CASE(ConvertUToPt 163 #undef CASE global() macro [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | assembly_grammar.cpp | 90 #define CASE(NAME) { SpvOp##NAME, #NAME } macro 93 CASE(SConvert), 94 CASE(FConvert), 95 CASE(ConvertFToS), 96 CASE(ConvertSToF), 97 CASE(ConvertFToU), 98 CASE(ConvertUToF), 99 CASE(UConvert), 100 CASE(ConvertPtrToU), 101 CASE(ConvertUToPt 163 #undef CASE global() macro [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | memcopy.h | 88 #define CASE(N) \ in MemCopy() macro 92 CASE(1) in MemCopy() 93 CASE(2) in MemCopy() 94 CASE(3) in MemCopy() 95 CASE(4) in MemCopy() 96 CASE(5) in MemCopy() 97 CASE(6) in MemCopy() 98 CASE(7) in MemCopy() 99 CASE(8) in MemCopy() 100 CASE( in MemCopy() 108 #undef CASE MemCopy() macro 120 #define CASE MemMove() macro 140 #undef CASE MemMove() macro 293 #define CASE CopyChars() macro 313 #undef CASE CopyChars() macro [all...] |
/third_party/mesa3d/src/panfrost/lib/tests/ |
H A D | test-earlyzs.cpp | 72 #define CASE(expected_update, expected_kill, flags) \ macro 77 CASE(FORCE_EARLY, FORCE_EARLY, API_EARLY); in TEST() 78 CASE(FORCE_EARLY, FORCE_EARLY, API_EARLY | WRITES_Z | WRITES_S); in TEST() 79 CASE(FORCE_EARLY, FORCE_EARLY, API_EARLY | ALPHA2COV | DISCARD); in TEST() 84 CASE(FORCE_LATE, FORCE_LATE, WRITES_Z); in TEST() 85 CASE(FORCE_LATE, FORCE_LATE, WRITES_S); in TEST() 86 CASE(FORCE_LATE, FORCE_LATE, WRITES_Z | WRITES_S); in TEST() 87 CASE(FORCE_LATE, FORCE_LATE, WRITES_Z | WRITES_S | SIDEFX); in TEST() 88 CASE(FORCE_LATE, FORCE_LATE, WRITES_Z | WRITES_S | ZS_ALWAYS_PASSES); in TEST() 89 CASE(FORCE_LAT in TEST() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | disasm.c | 352 #define CASE(_name, _srcs) \ macro 363 CASE(not, 1), 364 CASE(and, 2), 365 CASE(or, 2), 366 CASE(xor, 2), 367 CASE(ne, 2), 368 CASE(gt, 2), 369 CASE(ge, 2), 370 CASE(eq, 2), 371 CASE(mi 376 #undef CASE global() macro 418 #define CASE global() macro 443 #undef CASE global() macro 480 #define CASE global() macro 504 #undef CASE global() macro 541 #define CASE global() macro 564 #undef CASE global() macro 596 #define CASE global() macro 615 #undef CASE global() macro [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_util.c | 84 #define CASE(r, g, b, a) case (r | g << 8 | b << 16 | a << 24) in pipe2surface() macro 89 CASE(16, 0, 0, 0): return FMT_16_FLOAT; in pipe2surface() 90 CASE(16, 16, 0, 0): return FMT_16_16_FLOAT; in pipe2surface() 91 CASE(16, 16, 16, 0): return FMT_16_16_16_16_FLOAT; /* Note: only for vertex */ in pipe2surface() 92 CASE(16, 16, 16, 16): return FMT_16_16_16_16_FLOAT; in pipe2surface() 93 CASE(32, 0, 0, 0): return FMT_32_FLOAT; in pipe2surface() 94 CASE(32, 32, 0, 0): return FMT_32_32_FLOAT; in pipe2surface() 95 CASE(32, 32, 32, 0): return FMT_32_32_32_FLOAT; in pipe2surface() 96 CASE(32, 32, 32, 32): return FMT_32_32_32_32_FLOAT; in pipe2surface() 100 CASE( in pipe2surface() 121 #undef CASE pipe2surface() macro [all...] |
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/ |
H A D | test-packing.cpp | 30 #define CASE(instr, expected) do { \ macro 61 CASE(bi_mov_i32_to(b, bi_register(1), bi_register(2)), in TEST_F() 63 CASE(bi_mov_i32_to(b, bi_register(1), bi_fau((enum bir_fau) (BIR_FAU_UNIFORM | 5), false)), in TEST_F() 68 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(1), bi_register(2)), in TEST_F() 70 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(1), bi_abs(bi_register(2))), in TEST_F() 72 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(1), bi_neg(bi_register(2))), in TEST_F() 75 CASE(bi_fadd_v2f16_to(b, bi_register(0), bi_swz_16(bi_register(1), false, false), in TEST_F() 79 CASE(bi_fadd_v2f16_to(b, bi_register(0), bi_register(1), bi_register(0)), in TEST_F() 82 CASE(bi_fadd_v2f16_to(b, bi_register(0), bi_register(1), in TEST_F() 86 CASE(bi_fadd_v2f16_t in TEST_F() [all...] |
H A D | test-lower-constants.cpp | 38 #define CASE(instr, expected) INSTRUCTION_CASE(instr, expected, add_imm) macro 54 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.0)), in TEST_F() 57 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(1.0)), in TEST_F() 60 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.1)), in TEST_F() 65 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.5)), in TEST_F() 68 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(255.0)), in TEST_F() 71 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(256.0)), in TEST_F() 74 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(8.0)), in TEST_F() 79 CASE(bi_fadd_v2f16_to(b, bi_register(0), bi_register(0), bi_imm_f16(255.0)), in TEST_F() 82 CASE(bi_fadd_v2f16_t in TEST_F() [all...] |
/third_party/openssl/test/ |
H A D | trace_api_test.c | 25 #define CASE(name) \ in test_trace_categories() macro 30 CASE(ALL); in test_trace_categories() 31 CASE(TRACE); in test_trace_categories() 32 CASE(INIT); in test_trace_categories() 33 CASE(TLS); in test_trace_categories() 34 CASE(TLS_CIPHER); in test_trace_categories() 35 CASE(CONF); in test_trace_categories() 36 CASE(ENGINE_TABLE); in test_trace_categories() 37 CASE(ENGINE_REF_COUNT); in test_trace_categories() 38 CASE(PKCS5V in test_trace_categories() 48 #undef CASE test_trace_categories() macro [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecodes.cc | 107 #define CASE(Name, ...) \ in ToString() macro 110 BYTECODE_LIST(CASE) in ToString() 111 #undef CASE in ToString() macro 182 #define CASE(Name, ...) case Bytecode::k##Name: in IsDebugBreak() macro 183 DEBUG_BREAK_BYTECODE_LIST(CASE); in IsDebugBreak() 184 #undef CASE in IsDebugBreak() macro 195 #define CASE(Name, _) \ in IsRegisterOperandType() macro 198 REGISTER_OPERAND_TYPE_LIST(CASE) in IsRegisterOperandType() 199 #undef CASE in IsRegisterOperandType() macro 200 #define CASE(Nam in IsRegisterOperandType() macro 204 #undef CASE IsRegisterOperandType() macro 237 #define CASE IsRegisterInputOperandType() macro 241 #undef CASE IsRegisterInputOperandType() macro 242 #define CASE IsRegisterInputOperandType() macro 247 #undef CASE IsRegisterInputOperandType() macro 255 #define CASE IsRegisterOutputOperandType() macro 259 #undef CASE IsRegisterOutputOperandType() macro 260 #define CASE IsRegisterOutputOperandType() macro 265 #undef CASE IsRegisterOutputOperandType() macro 334 #define CASE IsUnsignedOperandType() macro 338 #undef CASE IsUnsignedOperandType() macro [all...] |
/third_party/mesa3d/src/panfrost/bifrost/test/ |
H A D | test-optimizer.cpp | 38 #define CASE(instr, expected) INSTRUCTION_CASE(instr, expected, bi_optimizer) macro 39 #define NEGCASE(instr) CASE(instr, instr) 66 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_abs(x)), y), in TEST_F() 69 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_neg(x)), y), in TEST_F() 72 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, negabsx), y), in TEST_F() 75 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, x), y), in TEST_F() 78 CASE(bi_fmin_f32_to(b, reg, bi_fabsneg_f32(b, negabsx), bi_neg(y)), in TEST_F() 84 CASE(bi_fadd_v2f16_to(b, reg, bi_fabsneg_v2f16(b, negabsx), y), in TEST_F() 87 CASE(bi_fmin_v2f16_to(b, reg, bi_fabsneg_v2f16(b, negabsx), bi_neg(y)), in TEST_F() 93 CASE({ in TEST_F() [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglColorClearTests.cpp | 82 #define CASE(NAME, DESC, BITS, NUMCFG) { NAME, DESC, BITS, renderable<BITS>, NUMCFG } in init() macro 86 CASE("gles1", "Color clears using GLES1", EGL_OPENGL_ES_BIT, 1), in init() 87 CASE("gles2", "Color clears using GLES2", EGL_OPENGL_ES2_BIT, 1), in init() 88 CASE("gles3", "Color clears using GLES3", EGL_OPENGL_ES3_BIT, 1), in init() 89 CASE("vg", "Color clears using OpenVG", EGL_OPENVG_BIT, 1) in init() 94 CASE("gles1", "Color clears using multiple GLES1 contexts to shared surface", EGL_OPENGL_ES_BIT, 3), in init() 95 CASE("gles2", "Color clears using multiple GLES2 contexts to shared surface", EGL_OPENGL_ES2_BIT, 3), in init() 96 CASE("gles3", "Color clears using multiple GLES3 contexts to shared surface", EGL_OPENGL_ES3_BIT, 3), in init() 97 CASE("vg", "Color clears using multiple OpenVG contexts to shared surface", EGL_OPENVG_BIT, 3), in init() 98 CASE("gles1_gles in init() 106 #undef CASE init() macro [all...] |
/third_party/skia/src/opts/ |
H A D | SkVM_opts.h | 187 #define CASE(op) case 2*(int)op: /*fallthrough*/ case 2*(int)op+1 190 CASE(Op::store128): { 201 CASE(Op::load128): 207 CASE(Op::assert_true): 220 CASE(Op::trace_line): 227 CASE(Op::trace_var): 234 CASE(Op::trace_call): 241 CASE(Op::index): { 251 CASE(Op::uniform32): 255 CASE(O [all...] |
H A D | SkXfermode_opts.h | 110 #define CASE(Xfermode) \ 112 CASE(Clear); 113 CASE(Src); 114 CASE(Dst); 115 CASE(SrcOver); 116 CASE(DstOver); 117 CASE(SrcIn); 118 CASE(DstIn); 119 CASE(SrcOut); 120 CASE(DstOu [all...] |