mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
v3d: Remove dead switch cases and comments from v3d_nir_lower_io.
Moving things to NIR left this mess around. All we lower now is uniforms.
This commit is contained in:
parent
f8e6b364b0
commit
b0e0086257
1 changed files with 3 additions and 8 deletions
|
|
@ -28,10 +28,9 @@
|
|||
* Walks the NIR generated by TGSI-to-NIR or GLSL-to-NIR to lower its io
|
||||
* intrinsics into something amenable to the V3D architecture.
|
||||
*
|
||||
* Currently, it splits VS inputs and uniforms into scalars, drops any
|
||||
* non-position outputs in coordinate shaders, and fixes up the addressing on
|
||||
* indirect uniform loads. FS input and VS output scalarization is handled by
|
||||
* nir_lower_io_to_scalar().
|
||||
* Currently, it just splits uniforms into scalars, and fixes up the
|
||||
* addressing on indirect uniform loads. FS input and VS output scalarization
|
||||
* is handled by nir_lower_io_to_scalar().
|
||||
*/
|
||||
|
||||
static void
|
||||
|
|
@ -95,14 +94,10 @@ v3d_nir_lower_io_instr(struct v3d_compile *c, nir_builder *b,
|
|||
nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr);
|
||||
|
||||
switch (intr->intrinsic) {
|
||||
case nir_intrinsic_load_input:
|
||||
break;
|
||||
|
||||
case nir_intrinsic_load_uniform:
|
||||
v3d_nir_lower_uniform(c, b, intr);
|
||||
break;
|
||||
|
||||
case nir_intrinsic_load_user_clip_plane:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue