summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-07-01 16:06:13 -0700
committerJuan A. Suarez Romero <[email protected]>2019-07-03 10:13:10 +0200
commit95cfcc3b4370b1fbdfdd1a8ceb7cf2cf672ad63c (patch)
treee8364547fabf95727784f5e595d032094df7ca36 /src/intel/vulkan
parentcb3072488cd327155206e92d1ad8eb72a23ab04e (diff)
spirv: Ignore ArrayStride in OpPtrAccessChain for Workgroup
From OpPtrAccessChain description in the SPIR-V spec (1.4 rev 1): For objects in the Uniform, StorageBuffer, or PushConstant storage classes, the element’s address or location is calculated using a stride, which will be the Base-type’s Array Stride when the Base type is decorated with ArrayStride. For all other objects, the implementation will calculate the element’s address or location. For non-CL shaders the driver should layout the Workgroup storage class, so override any explicitly set ArrayStride in the shader. This currently fixes only the lower_workgroup_access_to_offsets case, which is used by anv. Reviewed-by: Juan A. Suarez <[email protected]> (cherry picked from commit 050eb6389a8867e6173644fbb6b2d13ad0db454b)
Diffstat (limited to 'src/intel/vulkan')
0 files changed, 0 insertions, 0 deletions