commit | a43a09bc0e27cc00fd23d238649aa886c52d2fb1 | [log] [tgz] |
---|---|---|
author | Corentin Noël <corentin.noel@collabora.com> | Mon Mar 21 11:20:41 2022 +0100 |
committer | Corentin Noël <tintou@noel.tf> | Thu Mar 24 09:43:59 2022 +0000 |
tree | 1ca2fa08b4b9842b00031d34d6572e48087d6899 | |
parent | a179863218a9aabc1a7494211320be7baccd880f [diff] |
shader: Make sure to use textureSize with the correct arguments In the case of gsampler2DRect, there is no second argument to be provided to textureSize. Makes the `spec@arb_texture_rectangle@copyteximage rect samples=2` not crash. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/761>