Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Matt Turner
On Mon, Mar 30, 2015 at 9:49 AM, Eric Anholt e...@anholt.net wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI-NIR and NIR-TGSI. Otherwise, we had to pull in all of mtypes.h. This doesn't cover all of the enums we

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Brian Paul
On 03/30/2015 10:49 AM, Eric Anholt wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI-NIR and NIR-TGSI. Otherwise, we had to pull in all of mtypes.h. This doesn't cover all of the enums we might want from a shared

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Kenneth Graunke
On Monday, March 30, 2015 11:44:19 AM Eric Anholt wrote: Brian Paul bri...@vmware.com writes: On 03/30/2015 10:49 AM, Eric Anholt wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI-NIR and NIR-TGSI. Otherwise, we

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Eric Anholt
Brian Paul bri...@vmware.com writes: On 03/30/2015 10:49 AM, Eric Anholt wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI-NIR and NIR-TGSI. Otherwise, we had to pull in all of mtypes.h. This doesn't cover all of the

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Eric Anholt
Matt Turner matts...@gmail.com writes: On Mon, Mar 30, 2015 at 9:49 AM, Eric Anholt e...@anholt.net wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI-NIR and NIR-TGSI. Otherwise, we had to pull in all of mtypes.h.

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Brian Paul
On 03/30/2015 03:46 PM, Eric Anholt wrote: Kenneth Graunke kenn...@whitecape.org writes: On Monday, March 30, 2015 11:44:19 AM Eric Anholt wrote: Brian Paul bri...@vmware.com writes: On 03/30/2015 10:49 AM, Eric Anholt wrote: NIR uses these enums/#defines in nir_variables and associated

Re: [Mesa-dev] [PATCH 1/3 v2] mesa: Make a shared header for 3D pipeline enum / #defines.

2015-03-30 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: On Monday, March 30, 2015 11:44:19 AM Eric Anholt wrote: Brian Paul bri...@vmware.com writes: On 03/30/2015 10:49 AM, Eric Anholt wrote: NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use