[SPIR-V] Fix 1D texture fetches. Fixes #1124

This commit is contained in:
DrChat
2018-04-20 15:24:42 -05:00
parent 2b66a1b68f
commit 86f387ed42
2 changed files with 13 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ namespace gpu {
// supported size).
struct SpirvPushConstants {
// Accessible to vertex shader only:
float window_scale[4]; // scale x/y, viewport width/height (pixels)
float window_scale[4]; // scale x/y, offset x/y (pixels)
float vtx_fmt[4];
// Accessible to geometry shader only: