Re: [Mesa-dev] [PATCH v8 33/33] nvir/nir: implement intrinsic shader_clock

2018-07-16 Thread Karol Herbst
On Mon, Jul 16, 2018 at 5:54 PM, Rhys Perry wrote: > The instructions should probably be marked as fixed so they aren't CSE'd. > mhh, but then also prevents us from doing DCE :/ I guess we can depend on nir eliminating such high level instructions, but with TGSI we also mark that as fixed, so I

Re: [Mesa-dev] [PATCH v8 33/33] nvir/nir: implement intrinsic shader_clock

2018-07-16 Thread Rhys Perry
The instructions should probably be marked as fixed so they aren't CSE'd. On Fri, Jun 29, 2018 at 11:32 PM, Karol Herbst wrote: > Signed-off-by: Karol Herbst > --- > src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 8 > 1 file changed, 8 insertions(+) > > diff --git

[Mesa-dev] [PATCH v8 33/33] nvir/nir: implement intrinsic shader_clock

2018-06-29 Thread Karol Herbst
Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 8 1 file changed, 8 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index f4875113d00..ed2453136fd