radv/llvm: stop assigning driver_location in NIR->LLVM
It's already assigned just after NIR linking shaders. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7010>
This commit is contained in:
@@ -1338,8 +1338,6 @@ scan_shader_output_decl(struct radv_shader_context *ctx,
|
||||
unsigned attrib_count = glsl_count_attribute_slots(variable->type, false);
|
||||
uint64_t mask_attribs;
|
||||
|
||||
variable->data.driver_location = idx * 4;
|
||||
|
||||
/* tess ctrl has it's own load/store paths for outputs */
|
||||
if (stage == MESA_SHADER_TESS_CTRL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user