diff options
author | Antia Puentes <[email protected]> | 2015-12-19 19:24:28 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:07 +0100 |
commit | fae2b10ff9ec568df328785183e483d4fcbf0f83 (patch) | |
tree | b9d6c8f64fd2033624beaa9c7ad31de52746ad64 /src/mesa/main/shaderimage.h | |
parent | aeb759c7d631eb10a69245ba8d7b6a2179a268f5 (diff) |
mesa/formatquery: Added queries related to texture sampling in shaders
From the ARB_internalformat_query2 specification:
"- VERTEX_TEXTURE: The support for using the resource as a source for
texture sampling in a vertex shader is written to <params>.
- TESS_CONTROL_TEXTURE: The support for using the resource as a source for
texture sampling in a tessellation control shader is written to <params>.
- TESS_EVALUATION_TEXTURE: The support for using the resource as a source
for texture sampling in a tessellation evaluation shader is written to
<params>.
- GEOMETRY_TEXTURE: The support for using the resource as a source for
texture sampling in a geometry shader is written to <params>.
- FRAGMENT_TEXTURE: The support for using the resource as a source for
texture sampling in a fragment shader is written to <params>.
- COMPUTE_TEXTURE: The support for using the resource as a source for
texture sampling in a compute shader is written to <params>."
For all of them,
"Possible values returned are FULL_SUPPORT, CAVEAT_SUPPORT, or NONE.
If the resource or operation is not supported, NONE is returned."
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderimage.h')
0 files changed, 0 insertions, 0 deletions