aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-09-26 11:56:48 -0500
committerJason Ekstrand <[email protected]>2019-11-09 15:29:01 +0000
commit9e440b8d0b982933650c7b600de1e4b6e33f9c7d (patch)
treeaace3a789f21c83811d6e03c0cf94c5d3060d20f /src/egl
parent9cc4c2c91649be6eb0b0a3f56eeb4ce3696a79a3 (diff)
spirv: Sort out the mess that is sampled image
This commit makes two major changes. First, we add a second case to OpLoad for sampled images which constructs a vtn_sampled_image and stashes that rather than stashing a pointer to the combined image sampler like we do for bare samplers and images. This should be more in line with how SPIR-V is intended to work and hopefully doesn't cause any weird problems. The second is a rework of vtn_handle_texture to assume that everything has an image but not everything has a sampler. We also add a vtn_fail_if for the case where a texture instructions require a sampler but none is provided. Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions