Home
last modified time | relevance | path

Searched refs:uniformBuffer (Results 1 – 25 of 48) sorted by relevance

12

/third_party/glslang/Test/
Dspv.nonuniform.frag12 layout(binding=3) uniform uname { float a; } uniformBuffer[];
38 b += uniformBuffer[nu_ii].a;
50 b += uniformBuffer[v.y].a;
51 b += uniformBuffer[v[2]].a;
52 b += uniformBuffer[uv[nu_ii]].a;
53 b += uniformBuffer[int(m[2].z)].a;
54 b += uniformBuffer[s.a].a;
DruntimeArray.vert35 layout(binding=3) uniform uname { float a; } uniformBuffer[];
93 uniformBuffer[1];
102 uniformBuffer[i]; // ERROR, need extension
/third_party/skia/tests/sksl/shared/
DGaussianBlur.asm.frag6 OpName %uniformBuffer "uniformBuffer"
7 OpMemberName %uniformBuffer 0 "sk_RTAdjust"
8 OpMemberName %uniformBuffer 1 "uIncrement_Stage1_c0"
9 OpMemberName %uniformBuffer 2 "uKernel_Stage1_c0"
10 OpMemberName %uniformBuffer 3 "umatrix_Stage1_c0_c0"
11 OpMemberName %uniformBuffer 4 "uborder_Stage1_c0_c0_c0"
12 OpMemberName %uniformBuffer 5 "usubset_Stage1_c0_c0_c0"
13 OpMemberName %uniformBuffer 6 "unorm_Stage1_c0_c0_c0"
32 OpMemberDecorate %uniformBuffer 0 Offset 0
33 OpMemberDecorate %uniformBuffer 1 Offset 16
[all …]
DGaussianBlur.metal10 struct uniformBuffer {
23 constant uniformBuffer* _anonInterface0;
42 …e(0)]], sampler uTextureSampler_0_Stage1Smplr[[sampler(0)]], constant uniformBuffer& _anonInterfac…
/third_party/glslang/Test/baseResults/
Dspv.nonuniform.frag.out46 Name 90 "uniformBuffer"
87 Decorate 90(uniformBuffer) DescriptorSet 0
88 Decorate 90(uniformBuffer) Binding 3
195 90(uniformBuffer): 89(ptr) Variable Uniform
292 95: 94(ptr) AccessChain 90(uniformBuffer) 93 53
346 174: 94(ptr) AccessChain 90(uniformBuffer) 173 53
353 181: 94(ptr) AccessChain 90(uniformBuffer) 180 53
361 189: 94(ptr) AccessChain 90(uniformBuffer) 188 53
369 199: 94(ptr) AccessChain 90(uniformBuffer) 198 53
376 208: 94(ptr) AccessChain 90(uniformBuffer) 207 53
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp77 sk_sp<Buffer> uniformBuffer = gpu->resourceProvider()->findOrCreateBuffer( in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
92 UniformData* uniforms = (UniformData*)uniformBuffer->map(); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
96 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
136 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
172 uniformBuffer->unmap(); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/skia/experimental/graphite/src/
DCommandBuffer.cpp45 void CommandBuffer::bindUniformBuffer(sk_sp<Buffer> uniformBuffer, size_t offset) { in bindUniformBuffer() argument
46 this->onBindUniformBuffer(uniformBuffer.get(), offset); in bindUniformBuffer()
47 this->trackResource(std::move(uniformBuffer)); in bindUniformBuffer()
/third_party/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp185 sk_sp<GrGpuBuffer> uniformBuffer = resourceProvider->createBuffer( in loadMSAAFromResolve() local
187 if (!uniformBuffer) { in loadMSAAFromResolve()
190 GrVkBuffer* vkUniformBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in loadMSAAFromResolve()
196 commandBuffer->addGrBuffer(std::move(uniformBuffer)); in loadMSAAFromResolve()
DGrVkPipelineState.cpp96 auto [uniformBuffer, success] = fDataManager.uploadUniforms(gpu, fPipeline->layout(), in setAndBindUniforms()
101 if (uniformBuffer) { in setAndBindUniforms()
102 const GrVkBuffer* vkBuffer = static_cast<GrVkBuffer*>(uniformBuffer.get()); in setAndBindUniforms()
107 commandBuffer->addGrBuffer(std::move(uniformBuffer)); in setAndBindUniforms()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp153 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() local
158 {{0, uniformBuffer, 0, sizeof(redColor)}})); in TEST_P()
479 wgpu::Buffer uniformBuffer = in TEST_P() local
482 {{0, uniformBuffer}})); in TEST_P()
529 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() local
533 device, renderPipeline.GetBindGroupLayout(0), {{0, uniformBuffer}}); in TEST_P()
559 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() local
563 {{0, uniformBuffer}})); in TEST_P()
623 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() local
626 {{0, uniformBuffer, 0, sizeof(fillColor)}})); in TEST_P()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemShaderTimeoutTests.cpp170 BufferWithMemory uniformBuffer(vk, device, allocator, in iterate() local
186 const Allocation& uniformBufferAllocation = uniformBuffer.getAllocation(); in iterate()
208 …const VkDescriptorBufferInfo uniformDescriptorInfo = makeDescriptorBufferInfo(*uniformBuffer, 0ull… in iterate()
223 …makeBufferMemoryBarrier(VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_UNIFORM_READ_BIT, *uniformBuffer, 0ull… in iterate()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DBindGroupValidationTests.cpp1520 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() local
1524 {{0, uniformBuffer, 0, kBindingSize}, in TEST_F()
1525 {1, uniformBuffer, 0, kBindingSize}, in TEST_F()
1545 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() local
1549 {{0, uniformBuffer, 0, kBindingSize}, in TEST_F()
1550 {1, uniformBuffer, 0, kBindingSize}, in TEST_F()
1594 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() local
1598 {{0, uniformBuffer, 0, kBindingSize}, in TEST_F()
1599 {1, uniformBuffer, 0, kBindingSize}, in TEST_F()
1618 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderFloat16Tests.cpp45 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() local
155 {0, uniformBuffer, 0, sizeof(uniformData)}, in TEST_P()
DBindGroupTests.cpp572 wgpu::Buffer uniformBuffer = in TEST_P() local
575 utils::MakeBindGroup(device, layout, {{0, uniformBuffer, 0, sizeof(color)}}); in TEST_P()
616 wgpu::Buffer uniformBuffer = in TEST_P() local
619 utils::MakeBindGroup(device, layout, {{0, uniformBuffer, 0, sizeof(color)}}); in TEST_P()
667 wgpu::Buffer uniformBuffer = in TEST_P() local
670 utils::MakeBindGroup(device, layout, {{0, uniformBuffer, 0, 4 * sizeof(float)}}); in TEST_P()
737 wgpu::Buffer uniformBuffer = in TEST_P() local
740 utils::MakeBindGroup(device, uniformLayout, {{0, uniformBuffer, 0, 4 * sizeof(float)}}); in TEST_P()
827 wgpu::Buffer uniformBuffer = in TEST_P() local
834 utils::MakeBindGroup(device, uniformLayout, {{0, uniformBuffer, 0, 4 * sizeof(float)}}); in TEST_P()
[all …]
DCopyTextureForBrowserTests.cpp144 uniformBuffer = this->device.CreateBuffer(&uniformBufferDesc); in SetUp()
352 this->device.GetQueue().WriteBuffer(uniformBuffer, 0, uniformBufferData, in CheckResultInBuiltInComputePipeline()
374 {{0, srcTextureView}, {1, dstTextureView}, {2, outputBuffer}, {3, uniformBuffer}}); in CheckResultInBuiltInComputePipeline()
459 wgpu::Buffer uniformBuffer; member in CopyTextureForBrowserTests
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCopyTextureForBrowserHelper.cpp327 Ref<BufferBase> uniformBuffer; in DoCopyTextureForBrowser() local
329 uniformBuffer, in DoCopyTextureForBrowser()
352 {{0, uniformBuffer}, {1, sampler}, {2, srcTextureView}})); in DoCopyTextureForBrowser()
DComputePassEncoder.cpp250 Ref<BufferBase> uniformBuffer; in TransformIndirectDispatchBuffer() local
259 DAWN_TRY_ASSIGN(uniformBuffer, utils::CreateBufferFromData( in TransformIndirectDispatchBuffer()
275 {0, uniformBuffer}, in TransformIndirectDispatchBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp445 de::MovePtr<BufferWithMemory> uniformBuffer; in runTest() local
459uniformBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc… in runTest()
460 …deMemcpy(uniformBuffer->getAllocation().getHostPtr(), &m_data.traceDimensions, sizeof(VkTraceRaysI… in runTest()
461 …flushMappedMemoryRange(vkd, device, uniformBuffer->getAllocation().getMemory(), uniformBuffer->get… in runTest()
495 …torBufferInfo uniformBufferDescriptorInfo = makeDescriptorBufferInfo(uniformBuffer->get(), 0ull, … in runTest()
DvktRayTracingShaderBindingTableTests.cpp287 …de::MovePtr<BufferWithMemory> uniformBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory… in initUniformBuffer() local
309 deMemcpy(uniformBuffer->getAllocation().getHostPtr(), &uniformValue, sizeof(tcu::UVec4)); in initUniformBuffer()
310 …flushMappedMemoryRange(vkd, device, uniformBuffer->getAllocation().getMemory(), uniformBuffer->get… in initUniformBuffer()
312 return uniformBuffer; in initUniformBuffer()
908 de::MovePtr<BufferWithMemory> uniformBuffer; in runTest() local
931 uniformBuffer = m_data.testConfiguration->initUniformBuffer(m_context, m_data); in runTest()
932 …VkDescriptorBufferInfo uniformBufferInfo = makeDescriptorBufferInfo(uniformBuffer->get(), 0… in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp200 Move<VkBuffer> uniformBuffer[2]; in iterate() local
238 uniformBuffer[passNdx] = createBuffer(vk, device, &uniformBufferCreateInfo, DE_NULL); in iterate()
239 …assNdx] = allocator.allocate(getBufferMemoryRequirements(vk, device, *uniformBuffer[passNdx]), Mem… in iterate()
240 …VK_CHECK(vk.bindBufferMemory(device, *uniformBuffer[passNdx], uniformBufferAllocation[passNdx]->ge… in iterate()
251 *uniformBuffer[passNdx], in iterate()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DCommandBufferEncodingTests.cpp81 wgpu::Buffer uniformBuffer = device.CreateBuffer(&uniformBufferDesc); in TEST_F() local
83 wgpu::BindGroup staticBG = utils::MakeBindGroup(device, staticLayout, {{0, uniformBuffer}}); in TEST_F()
86 utils::MakeBindGroup(device, dynamicLayout, {{0, uniformBuffer, 0, 256}}); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DShaderRobustnessPerf.cpp434 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in SetUp() local
474 {3, uniformBuffer, 0, sizeof(uniformData)}, in SetUp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp422 Move<VkBuffer> uniformBuffer; in iterate() local
635 uniformBuffer = createBuffer(vk, *m_deviceGroup, &uniformBufferParams); in iterate()
637 memReqs = getBufferMemoryRequirements(vk, *m_deviceGroup, uniformBuffer.get()); in iterate()
640 dedicatedAllocInfo.buffer = uniformBuffer.get(); in iterate()
662 uniformBuffer.get(), // buffer in iterate()
669 … VK_CHECK(vk.bindBufferMemory(*m_deviceGroup, uniformBuffer.get(), uniformBufferMemory.get(), 0)); in iterate()
925 uniformBuffer.get(), in iterate()
1273 uniformBuffer.get(), // VkBuffer buffer; in iterate()
1291 … vk.cmdCopyBuffer(*cmdBuffer, stagingUniformBuffer.get(), uniformBuffer.get(), 1u, &uboBufferCopy); in iterate()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dinst_bindless_check_test.cpp2946 OpName %uniformBuffer "uniformBuffer" in TEST_F()
2991 OpName %uniformBuffer "uniformBuffer" in TEST_F()
3773 OpName %uniformBuffer "uniformBuffer" in TEST_F()
3806 OpName %uniformBuffer "uniformBuffer" in TEST_F()
4276 OpName %uniformBuffer "uniformBuffer" in TEST_F()
4322 OpName %uniformBuffer "uniformBuffer" in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dinst_bindless_check_test.cpp2946 OpName %uniformBuffer "uniformBuffer" in TEST_F()
2991 OpName %uniformBuffer "uniformBuffer" in TEST_F()
3773 OpName %uniformBuffer "uniformBuffer" in TEST_F()
3806 OpName %uniformBuffer "uniformBuffer" in TEST_F()
4276 OpName %uniformBuffer "uniformBuffer" in TEST_F()
4322 OpName %uniformBuffer "uniformBuffer" in TEST_F()

12