/third_party/spirv-tools/test/tools/objdump/ |
H A D | extract_source_test.cpp | 71 %2 = OpString "compute.hlsl" in TEST() 86 ASSERT_TRUE(result["compute.hlsl"] == in TEST() 96 %2 = OpString "compute.hlsl" in TEST() 112 ASSERT_TRUE(result["compute.hlsl"] == in TEST() 122 %2 = OpString "compute.hlsl" in TEST() 137 ASSERT_TRUE(result["compute.hlsl"] == ""); in TEST() 173 %2 = OpString "compute.hlsl" in TEST() 191 ASSERT_TRUE(result["compute.hlsl"] == in TEST() 202 OpSource HLSL 660 %2 "void compute(){}" in TEST() 216 ASSERT_TRUE(result["unnamed-0.hlsl"] == "void compute(){}"); in TEST() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | ComputePipeline.cpp | 34 device, descriptor->compute.module, descriptor->compute.entryPoint, in ValidateComputePipelineDescriptor() 35 descriptor->compute.constantCount, descriptor->compute.constants, descriptor->layout, in ValidateComputePipelineDescriptor() 46 {{SingleShaderStage::Compute, descriptor->compute.module, in ComputePipelineBase() 47 descriptor->compute.entryPoint, descriptor->compute.constantCount, in ComputePipelineBase() 48 descriptor->compute.constants}}) { in ComputePipelineBase()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | GpuMemorySynchronizationTests.cpp | 43 [[stage(compute), workgroup_size(1)]] fn main() { in CreatePipelineAndBindGroupForCompute() 48 cpDesc.compute.module = csModule; in CreatePipelineAndBindGroupForCompute() 49 cpDesc.compute.entryPoint = "main"; in CreatePipelineAndBindGroupForCompute() 90 // in compute pass. Iterate this read-add-write steps per compute pass a few time. The successive 92 // dependency chain. The test verifies that data in buffer among iterations in compute passes is 95 // Create pipeline, bind group, and buffer for compute pass. in TEST_P() 97 wgpu::ComputePipeline compute; in TEST_P() local 99 std::tie(compute, bindGroup) = CreatePipelineAndBindGroupForCompute(buffer); in TEST_P() 102 // Iterate the read-add-write operations in compute pas in TEST_P() 163 wgpu::ComputePipeline compute; TEST_P() local 195 wgpu::ComputePipeline compute; TEST_P() local 303 wgpu::ComputePipeline compute; TEST_P() local 339 wgpu::ComputePipeline compute; TEST_P() local 378 wgpu::ComputePipeline compute; TEST_P() local [all...] |
H A D | ComputeStorageBufferBarrierTests.cpp | 41 [[stage(compute), workgroup_size(1)]] in TEST_P() 48 pipelineDesc.compute.module = module; in TEST_P() 49 pipelineDesc.compute.entryPoint = "main"; in TEST_P() 92 [[stage(compute), workgroup_size(1)]] in TEST_P() 99 pipelineDesc.compute.module = module; in TEST_P() 100 pipelineDesc.compute.entryPoint = "main"; in TEST_P() 136 // read-only storage buffers are synchronized in one compute pass. 158 [[stage(compute), workgroup_size(1)]] in TEST_P() 165 pipelineDesc.compute.module = module; in TEST_P() 166 pipelineDesc.compute in TEST_P() [all...] |
H A D | D3D12CachingTests.cpp | 216 [[stage(compute), workgroup_size(1)]] fn write1() { in TEST_P() 220 [[stage(compute), workgroup_size(1)]] fn write42() { in TEST_P() 228 desc.compute.module = module; in TEST_P() 229 desc.compute.entryPoint = "write1"; in TEST_P() 232 desc.compute.module = module; in TEST_P() 233 desc.compute.entryPoint = "write42"; in TEST_P() 242 desc.compute.module = module; in TEST_P() 243 desc.compute.entryPoint = "write1"; in TEST_P() 249 desc.compute.module = module; in TEST_P() 250 desc.compute in TEST_P() [all...] |
H A D | ShaderTests.cpp | 36 csDesc.compute.module = utils::CreateShaderModule(device, shader.c_str()); in CreateComputePipeline() 37 csDesc.compute.entryPoint = entryPoint; in CreateComputePipeline() 39 csDesc.compute.constants = constants->data(); in CreateComputePipeline() 40 csDesc.compute.constantCount = constants->size(); in CreateComputePipeline() 59 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 421 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 491 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 548 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 602 [[stage(compute), workgroup_size(1)]] fn main1() { in TEST_P() 606 [[stage(compute), workgroup_siz in TEST_P() [all...] |
H A D | ComputeSharedMemoryTests.cpp | 33 csDesc.compute.module = module; in BasicTest() 34 csDesc.compute.entryPoint = "main"; in BasicTest() 84 [[stage(compute), workgroup_size(4,4,1)]] in TEST_P() 108 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P() 127 [[stage(compute), workgroup_size(4,1,1)]] in TEST_P() 159 csDesc.compute.entryPoint = "main"; in TEST_P()
|
H A D | MaxLimitTests.cpp | 52 [[stage(compute), workgroup_size(2,1,1)]] in TEST_P() 70 csDesc.compute.module = utils::CreateShaderModule(device, shader.c_str()); in TEST_P() 71 csDesc.compute.entryPoint = "main"; in TEST_P() 144 [[stage(compute), workgroup_size(1,1,1)]] in TEST_P() 175 [[stage(compute), workgroup_size(1,1,1)]] in TEST_P() 214 csDesc.compute.module = utils::CreateShaderModule(device, shader.c_str()); in TEST_P() 215 csDesc.compute.entryPoint = "main"; in TEST_P()
|
H A D | CreatePipelineAsyncTests.cpp | 135 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P() 141 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 144 csDesc.compute.entryPoint = "main"; in TEST_P() 165 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P() 171 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 177 csDesc.compute.entryPoint = entryPoint.c_str(); in TEST_P() 197 // the creation of the compute pipeline. The SPEC requires that during the call of 204 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P() 210 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_P() 213 csDesc.compute in TEST_P() [all...] |
H A D | EntryPointTests.cpp | 61 // Test creating two compute pipelines from the same module. 86 [[stage(compute), workgroup_size(1)]] fn write1() { in TEST_P() 91 [[stage(compute), workgroup_size(1)]] fn write42() { in TEST_P() 100 pipelineDesc.compute.module = module; in TEST_P() 102 pipelineDesc.compute.entryPoint = "write1"; in TEST_P() 105 pipelineDesc.compute.entryPoint = "write42"; in TEST_P()
|
H A D | ShaderFloat16Tests.cpp | 149 csDesc.compute.module = module; in TEST_P() 150 csDesc.compute.entryPoint = "main"; in TEST_P()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_root_signature.cpp | 119 unsigned count = key->compute ? 1 : D3D12_GFX_SHADER_STAGES; in create_root_signature() 121 unsigned stage = key->compute ? PIPE_SHADER_COMPUTE : i; in create_root_signature() 204 if (!key->compute) in create_root_signature() 229 fill_key(struct d3d12_context *ctx, struct d3d12_root_signature_key *key, bool compute) in fill_key() argument 233 key->compute = compute; in fill_key() 234 unsigned count = compute ? 1 : D3D12_GFX_SHADER_STAGES; in fill_key() 236 struct d3d12_shader *shader = compute ? in fill_key() 249 if (!compute && ctx->gfx_stages[i]->so_info.num_outputs > 0) in fill_key() 256 d3d12_get_root_signature(struct d3d12_context *ctx, bool compute) in d3d12_get_root_signature() argument [all...] |
H A D | d3d12_root_signature.h | 30 bool compute; member 50 d3d12_get_root_signature(struct d3d12_context *ctx, bool compute);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | importCallExpressionInCJS2.js | 10 async function compute(promise: Promise<any>) { 19 compute(import("./0"));
34 async function compute(promise) {
42 compute(Promise.resolve().then(() => require("./0")));
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | UnsafeAPIValidationTests.cpp | 34 // Create the dummy compute pipeline. in TEST_F() 36 pipelineDescBase.compute.entryPoint = "main"; in TEST_F() 41 pipelineDesc.compute.module = in TEST_F() 42 utils::CreateShaderModule(device, "[[stage(compute), workgroup_size(1)]] fn main() {}"); in TEST_F() 53 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_F() 62 pipelineDesc.compute.module = in TEST_F() 63 utils::CreateShaderModule(device, "[[stage(compute), workgroup_size(1)]] fn main() {}"); in TEST_F() 65 pipelineDesc.compute.constants = constants.data(); in TEST_F() 66 pipelineDesc.compute.constantCount = constants.size(); in TEST_F()
|
H A D | MultipleDeviceTests.cpp | 36 [[stage(compute), workgroup_size(1, 1, 1)]] fn main() { in TEST_F() 48 pipelineDesc.compute.module = shaderModule; in TEST_F() 49 pipelineDesc.compute.entryPoint = "main"; in TEST_F() 68 pipelineDesc.compute.module = shaderModule; in TEST_F() 69 pipelineDesc.compute.entryPoint = "main"; in TEST_F()
|
H A D | OverridableConstantsValidationTests.cpp | 35 [[stage(compute), workgroup_size(1)]] fn main() { in SetUpShadersWithDefaultValueConstants() 65 [[stage(compute), workgroup_size(1)]] fn main() { in SetUpShadersWithUninitializedConstants() 83 csDesc.compute.module = computeModule; in TestCreatePipeline() 84 csDesc.compute.entryPoint = "main"; in TestCreatePipeline() 85 csDesc.compute.constants = constants.data(); in TestCreatePipeline() 86 csDesc.compute.constantCount = constants.size(); in TestCreatePipeline()
|
H A D | QueueSubmitValidationTests.cpp | 195 // Test that submitting in a compute pipeline creation callback doesn't cause re-entrance 213 descriptor.compute.module = utils::CreateShaderModule(device, R"( in TEST_F() 214 [[stage(compute), workgroup_size(1)]] fn main() { in TEST_F() 216 descriptor.compute.entryPoint = "main"; in TEST_F() 222 // Test that buffers in unused compute pass bindgroups are still checked for in 237 cpDesc.compute.entryPoint = "main"; in TEST_F() 238 cpDesc.compute.module = in TEST_F() 239 utils::CreateShaderModule(device, "[[stage(compute), workgroup_size(1)]] fn main() {}"); in TEST_F() 292 // Test that textures in unused compute pass bindgroups are still checked for in 305 cpDesc.compute in TEST_F() [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_shader.h | 130 out->compute.local_invocation_xy = pan_preloads(55); in pan_make_preload() 131 out->compute.local_invocation_z = pan_preloads(56); in pan_make_preload() 132 out->compute.work_group_x = pan_preloads(57); in pan_make_preload() 133 out->compute.work_group_y = pan_preloads(58); in pan_make_preload() 134 out->compute.work_group_z = pan_preloads(59); in pan_make_preload() 135 out->compute.global_invocation_x = pan_preloads(60); in pan_make_preload() 136 out->compute.global_invocation_y = pan_preloads(61); in pan_make_preload() 137 out->compute.global_invocation_z = pan_preloads(62); in pan_make_preload()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_hardcode.c | 82 } compute; member 103 .name = "simple-compute", 107 .compute = { 198 mesa_logd("Hard coding compute pipeline for %s", data->name); in pvr_hard_code_compute_pipeline() 200 *build_info_out = data->compute.build_info; in pvr_hard_code_compute_pipeline() 201 *shader_state_out = data->compute.shader_info; in pvr_hard_code_compute_pipeline() 204 data->compute.shader, in pvr_hard_code_compute_pipeline() 205 data->compute.shader_size, in pvr_hard_code_compute_pipeline()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireCreatePipelineAsyncTests.cpp | 95 // Test when creating a compute pipeline with CreateComputePipelineAsync() successfully. 103 descriptor.compute.module = csModule; in TEST_F() 104 descriptor.compute.entryPoint = "main"; in TEST_F() 124 // Test when creating a compute pipeline with CreateComputePipelineAsync() results in an error. 132 descriptor.compute.module = csModule; in TEST_F() 133 descriptor.compute.entryPoint = "main"; in TEST_F() 261 descriptor.compute.module = csModule; in TEST_F() 262 descriptor.compute.entryPoint = "main"; in TEST_F() 317 descriptor.compute.module = csModule; in TEST_F() 318 descriptor.compute in TEST_F() [all...] |
/third_party/skia/src/core/ |
H A D | SkM44.cpp | 56 auto compute = [&](sk4f r) { in setConcat() local 60 sk4f m0 = compute(sk4f::Load(b.fMat + 0)); in setConcat() 61 sk4f m1 = compute(sk4f::Load(b.fMat + 4)); in setConcat() 62 sk4f m2 = compute(sk4f::Load(b.fMat + 8)); in setConcat() 63 sk4f m3 = compute(sk4f::Load(b.fMat + 12)); in setConcat() 77 auto compute = [&](float r0, float r1, float r3) { in preConcat() local 81 sk4f m0 = compute(b[0], b[3], b[6]); in preConcat() 82 sk4f m1 = compute(b[1], b[4], b[7]); in preConcat() 83 sk4f m3 = compute(b[2], b[5], b[8]); in preConcat() 144 // to compute bot in map_rect_affine() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_query.c | 147 if (nvc0->screen->compute) in nvc0_render_condition() 164 if (nvc0->screen->compute) { in nvc0_render_condition() 212 if (screen->compute) { in nvc0_screen_get_driver_query_group_info() 229 if (screen->compute && screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_screen_get_driver_query_group_info() 242 if (screen->compute && screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_screen_get_driver_query_group_info()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluContextInfo.hpp | 42 CachedValue (ComputeValue compute = ComputeValue(), const T& defaultValue = T()) in CachedValue() 43 : m_compute (compute) in CachedValue()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_silenceremove.c | 103 double (*compute)(struct SilenceRemoveContext *s, AVFrame *frame, int ch, int offset); member 495 s->compute = compute_peak_double; in config_input() 499 s->compute = compute_rms_double; in config_input() 508 s->compute = compute_peak_float; in config_input() 512 s->compute = compute_rms_float; in config_input() 521 s->compute = compute_peak_doublep; in config_input() 525 s->compute = compute_rms_doublep; in config_input() 534 s->compute = compute_peak_floatp; in config_input() 538 s->compute = compute_rms_floatp; in config_input() 621 threshold |= s->compute( in filter_frame() [all...] |