summaryrefslogtreecommitdiffstats
path: root/docs/shading.html
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2017-05-25 21:26:09 -0700
committerIan Romanick <[email protected]>2017-05-31 21:14:44 -0700
commit303b47f253f595ca0f708bef1059cbb4996f83a0 (patch)
treeeaca4998b9e970a99aa62e6e50cd9c78112d4796 /docs/shading.html
parentc24881d39c139c451c1c096d6b0a98c8945c902b (diff)
r100: Use _mesa_get_format_base_format in radeon_update_wrapper
The wrapper is for a renderbuffer around a texture. Textures can have formats (e.g., 3) that aren't valide for API generated renderbuffers. _mesa_base_fbo_format will return 0, but _mesa_get_format_base_format will return the base format of RGB. Fixes a crashes in piglit tests fbo-alphatest-formats (all subtests pass) and fbo-colormask-formats (some subtests pass, some fail). Signed-off-by: Ian Romanick <[email protected]> Cc: [email protected] Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'docs/shading.html')
0 files changed, 0 insertions, 0 deletions