nir: Remove the const_offset from nir_tex_instr
When NIR was originally drafted, there was no easy way to determine if something was constant or not. The result was that we had lots of special-casing for constant values such as this. Now that load_const instructions are SSA-only, it's really easy to find constants and this isn't really needed anymore. Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Rob Clark <robclark@gmail.com>
This commit is contained in:
@@ -1010,9 +1010,6 @@ typedef struct {
|
||||
*/
|
||||
bool is_new_style_shadow;
|
||||
|
||||
/* constant offset - must be 0 if the offset source is used */
|
||||
int const_offset[4];
|
||||
|
||||
/* gather component selector */
|
||||
unsigned component : 2;
|
||||
|
||||
|
Reference in New Issue
Block a user