Revert "nir: lower INSTANCE_{ID,INDEX} to an offset load_instance_{index,id} respectively"
This reverts commit a5bcf566a9.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32332>
This commit is contained in:
committed by
Marge Bot
parent
9bae92f659
commit
9d5ba87ca1
@@ -4010,15 +4010,6 @@ typedef struct nir_shader_compiler_options {
|
||||
*/
|
||||
bool lower_base_vertex;
|
||||
|
||||
/**
|
||||
* Whether the driver wants to work with instance_index instead of
|
||||
* instance_id.
|
||||
*
|
||||
* When set, instance_id will be lowered to instance_index - base_instance.
|
||||
* Otherwise, instance_index will be lowered to instance_id + base_instance.
|
||||
*/
|
||||
bool supports_instance_index;
|
||||
|
||||
/**
|
||||
* If enabled, gl_HelperInvocation will be lowered as:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user