Home
last modified time | relevance | path

Searched refs:computeShader (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DMinimumBufferSizeValidationTests.cpp329 std::string computeShader = CreateComputeShaderWithBindings(bindings); in TEST_F() local
335 CreateComputePipeline({layout}, computeShader); in TEST_F()
343 std::string computeShader = CreateComputeShaderWithBindings(bindings); in TEST_F() local
351 CreateComputePipeline({layout}, computeShader); in TEST_F()
354 ASSERT_DEVICE_ERROR(CreateComputePipeline({layout}, computeShader)); in TEST_F()
368 std::string computeShader = CreateComputeShaderWithBindings(bindings); in TEST_F() local
377 CreateComputePipeline({layout0, layout1}, computeShader); in TEST_F()
380 ASSERT_DEVICE_ERROR(CreateComputePipeline({layout0, layout1}, computeShader)); in TEST_F()
427 std::string computeShader = CreateComputeShaderWithBindings(bindings); in TEST_F() local
433 wgpu::ComputePipeline computePipeline = CreateComputePipeline({layout}, computeShader); in TEST_F()
[all …]
DStorageTextureValidationTests.cpp256 std::string computeShader = in TEST_F() local
259 utils::CreateShaderModule(device, computeShader.c_str()); in TEST_F()
261 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, computeShader.c_str())); in TEST_F()
283 std::string computeShader = CreateComputeShaderWithStorageTexture(bindingType, format); in TEST_F() local
284 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, computeShader.c_str())); in TEST_F()
299 std::string computeShader = in TEST_F() local
301 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, computeShader.c_str())); in TEST_F()
339 std::string computeShader = in TEST_F() local
341 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, computeShader.c_str()); in TEST_F()
415 std::string computeShader = in TEST_F() local
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DStorageTextureTests.cpp541 wgpu::ComputePipeline CreateComputePipeline(const char* computeShader) { in CreateComputePipeline() argument
542 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, computeShader); in CreateComputePipeline()
596 const std::string& computeShader, in CheckResultInStorageBuffer() argument
598 wgpu::ComputePipeline pipeline = CreateComputePipeline(computeShader.c_str()); in CheckResultInStorageBuffer()
652 const char* computeShader, in WriteIntoStorageTextureInComputePass() argument
657 wgpu::ComputePipeline pipeline = CreateComputePipeline(computeShader); in WriteIntoStorageTextureInComputePass()
675 const char* computeShader, in ReadWriteIntoStorageTextureInComputePass() argument
680 wgpu::ComputePipeline pipeline = CreateComputePipeline(computeShader); in ReadWriteIntoStorageTextureInComputePass()
775 const std::string computeShader = CommonWriteOnlyTestCode("compute", format); in TEST_P() local
776 WriteIntoStorageTextureInComputePass(writeonlyStorageTexture, computeShader.c_str()); in TEST_P()
[all …]
DBufferZeroInitTests.cpp431 const char* computeShader = R"( in TestBufferZeroInitAsIndirectBufferForDispatchIndirect() local
440 pipelineDescriptor.compute.module = utils::CreateShaderModule(device, computeShader); in TestBufferZeroInitAsIndirectBufferForDispatchIndirect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp75 …Move<VkShaderModule> computeShader = createShaderModule (vk, device, m_context.getBinaryColle… in iterate() local
148 *computeShader, // module in iterate()
159 *computeShader, // module in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dgl_raii.h180 void makeCompute(const char *computeShader) { mHandle = CompileComputeProgram(computeShader); } in makeCompute() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStackTests.cpp240 …vk::Unique<vk::VkShaderModule> computeShader (vk::createShaderModule(vk, device, ctx.getBinaryC… in iterate() local
337 …VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *computeShader, DE_NULL)); in iterate()
DvktProtectedMemWorkgroupStorageTests.cpp209 …vk::Unique<vk::VkShaderModule> computeShader (vk::createShaderModule(vk, device, ctx.getBinaryC… in iterate() local
303 …VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *computeShader, DE_NULL)); in iterate()
DvktProtectedMemShaderImageAccessTests.cpp511 …vk::Unique<vk::VkShaderModule> computeShader (vk::createShaderModule(vk, device, ctx.getBinaryCo… in executeComputeTest() local
682 …VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *computeShader, DE_NULL)); in executeComputeTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp363 Move<VkShaderModule> computeShader; in runTest() local
379computeShader = createShaderModule(vkd, device, m_context.getBinaryCollection().get("compute_… in runTest()
386 *computeShader, // VkShaderModule module; in runTest()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp2301 GLuint computeShader = ctx.glCreateShader(GL_COMPUTE_SHADER); in link_compute_shader() local
2309 ctx.glShaderSource(computeShader, 1, &computeShaderSource, DE_NULL); in link_compute_shader()
2311 ctx.glCompileShader(computeShader); in link_compute_shader()
2313 ctx.glAttachShader(program, computeShader); in link_compute_shader()
2318 ctx.glDeleteShader(computeShader); in link_compute_shader()
2332 GLuint computeShader = ctx.glCreateShader(GL_COMPUTE_SHADER); in link_compute_shader() local
2335 ctx.glShaderSource(computeShader, 1, &computeShaderSource, DE_NULL); in link_compute_shader()
2338 ctx.glCompileShader(computeShader); in link_compute_shader()
2340 ctx.glAttachShader(program, computeShader); in link_compute_shader()
2345 ctx.glDeleteShader(computeShader); in link_compute_shader()
Des31fProgramInterfaceQueryTests.cpp4625 …const ResourceDefinition::Node::SharedPtr computeShader (new ResourceDefinition::Shader(program, g… in init() local
4631 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_ALL, generateUniformReso… in init()
4638 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_ALL, generateUniformBloc… in init()
4645 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_ALL, generateUniformBloc… in init()
4652 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_DEFAULT | BLOCKFLAG_NAME… in init()
4666 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_DEFAULT | BLOCKFLAG_NAME… in init()
4673 …generateUniformMatrixCaseBlocks(m_context, computeShader, blockGroup, generateUniformMatrixOrderCa… in init()
4680 …generateUniformMatrixCaseBlocks(m_context, computeShader, blockGroup, generateUniformMatrixStrideC… in init()
4687 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_ALL, generateUniformBloc… in init()
4694 …generateUniformCaseBlocks(m_context, computeShader, blockGroup, BLOCKFLAG_ALL, generateUniformBloc… in init()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.cpp2042 gl::Shader *computeShader = mState.getAttachedShader(gl::ShaderType::Compute); in link() local
2043 if (computeShader) in link()
2054 for (const sh::ShaderVariable &uniform : computeShader->getUniforms()) in link()
2859 const gl::Shader *computeShader = mState.getAttachedShader(shaderType); in assignAllAtomicCounterRegisters() local
2860 if (computeShader) in assignAllAtomicCounterRegisters()
2862 const ShaderD3D *computeShaderD3D = GetImplAs<ShaderD3D>(computeShader); in assignAllAtomicCounterRegisters()
2903 const gl::Shader *computeShader = mState.getAttachedShader(gl::ShaderType::Compute); in assignImageRegisters() local
2904 if (computeShader) in assignImageRegisters()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSampleCompressedTextureTests.cpp337 …Move<VkShaderModule> computeShader = createShaderModule(vk, device, m_context.getBinaryCollect… in iterate() local
346 …ne> computePipeline = makeComputePipeline(vk, device, *computePipelineLayout, *computeShader); in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DComputeShaderTest.cpp2070 GLShader computeShader(GL_COMPUTE_SHADER); in TEST_P() local
2071 glAttachShader(computeProgram, computeShader); in TEST_P()
2073 glDetachShader(computeProgram, computeShader); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp3048 d3d11::ComputeShader computeShader; in loadExecutable() local
3049 ANGLE_TRY(allocateResource(context, shaderData, &computeShader)); in loadExecutable()
3050 *outExecutable = new ShaderExecutable11(function, length, std::move(computeShader)); in loadExecutable()
DStateManager11.cpp2998 const d3d11::ComputeShader *computeShader = in syncProgramForCompute() local
3000 setComputeShader(computeShader); in syncProgramForCompute()