Jason Ekstrand
|
a8af0f536c
|
nir/spirv: Rework access chains a bit to allow for literals
This makes them much easier to construct because you can also just specify
a literal number and it doesn't have to be a valid SPIR-V id.
|
2016-01-21 16:20:39 -08:00 |
|
Jason Ekstrand
|
5d9a6fd526
|
vtn/variables: Compact local loads/stores into one function
This is similar to what we did for block loads/stores.
|
2016-01-21 16:20:39 -08:00 |
|
Jason Ekstrand
|
b298743d7b
|
nir/spirv: Add an actual variable struct to spirv_to_nir
This allows us, among other things, to do structure splitting on-the-fly to
more correctly handle input/output structs.
|
2016-01-21 16:20:39 -08:00 |
|
Jason Ekstrand
|
2892693d56
|
nir/spirv: Split variable handling out into its own file
It's 1300 lines all by itself and it will only grow.
|
2016-01-21 16:20:39 -08:00 |
|