diff options
author | Kenneth Graunke <[email protected]> | 2016-05-18 11:06:08 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-05-20 14:44:22 -0700 |
commit | de45da6a8c3091de400adc468682779abc989109 (patch) | |
tree | 22faf0247bcbe75e5d56282d682ef3b06cc04653 /src/compiler/spirv/vtn_private.h | |
parent | 9b8b3f75018ac3d7ab9aa09df012b6d19aa6fae2 (diff) |
spirv: Handle the PixelCenterInteger execution mode.
This isn't allowed by Vulkan, but might be useful someday for
SPIR-V in OpenGL (if that ever becomes a thing). It's easy enough
to hook up, and as precedent, we already do so for OriginLowerLeft.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r-- | src/compiler/spirv/vtn_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h index 3840d8c4b65..3ecffada2ba 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -378,6 +378,7 @@ struct vtn_builder { const char *entry_point_name; struct vtn_value *entry_point; bool origin_upper_left; + bool pixel_center_integer; struct vtn_function *func; struct exec_list functions; |