diff options
author | Jason Ekstrand <[email protected]> | 2017-03-29 15:16:15 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-04 18:33:35 -0700 |
commit | 3503b2714b98684a2ceba5f4fd9a5bfbfbcaad38 (patch) | |
tree | e408ab3e83e2bcc7ddc8a0135a70f205388e50d5 /src/egl/main | |
parent | c5bf7cb52942cb7df9f5d73746ffbf3c102d12cc (diff) |
i965/fs: Always provide a default LOD of 0 for TXS and TXL
We already provide a default LOD for textureQueryLevels and texture() on
non-fragment stages. However, there are more cases where one is needed
such as textureSize(gsampler2DMS*) in SPIR-V. Instead of trying to list
out all of the cases one at a time, just provide the default for all TXS
and TXL operations. This fixes a shader validation error in the new
Sascha deferredmultisampling demo which uses textureSize(gsampler2DMS).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100391
Reviewed-by: Anuj Phogat <[email protected]>
Cc: "13.0 17.0" <[email protected]>
Diffstat (limited to 'src/egl/main')
0 files changed, 0 insertions, 0 deletions