Skip to content

shader: re-interpret GRID_SIZE, BLOCK_ID, and THREAD_ID as float in MOV to TEMP

Gert Wollny requested to merge gerddie/virglrenderer:fix-105 into master

These values are unsigned, but the temporaries are always assumed to be in float representation, and the temps values will be re-interpreted as integers when needed. Hence above values must not be value-converted to float but the bit-representation must be maintained when they are stored in a temp register.

Fixes #105 (closed)

This is !307 (closed) with the CI

Merge request reports

Loading