diff options
author | Iago Toral Quiroga <[email protected]> | 2015-07-08 15:59:05 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-25 08:39:22 +0200 |
commit | d2719b6e4f6bdbbd29ac66903d3d9dad9bd01386 (patch) | |
tree | 975a6fd92363fb76510d830f9ce5dd199be2491c /src/glsl/nir/nir_intrinsics.h | |
parent | da659087b9620805c155c3954f560995ed96d5b4 (diff) |
glsl: lower SSBO atomic intrinsics
The first argument to SSBO atomics is a reference to a SSBO buffer variable
so we want to compute its block index and offset and provide these values
to an internal version of the intrinsic that takes them instead of the
buffer variable reference.
v2:
- Support single components of integer vectors to be passed in as arguments.
- Get interface packing information from interface's type.
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_intrinsics.h')
0 files changed, 0 insertions, 0 deletions