Displaying 11 results from an estimated 11 matches for "getresourcebase".
2016 Mar 10
3
[PATCH mesa 3/3] nouveau: Add support for clover / OpenCL kernel input parameters
...already know,
> it is going to be removed because the idea is to use screen->uniform_bo
> instead. I'll do this change *after* the compute shaders support on Kepler.
Actually looks like it's only set for nv50 that I can see, shifting
things over by 0x10. It used to be reflected by getResourceBase, but
we broke that abstraction... might be nice to get it back somehow,
perhaps by sending more arguments down to getResourceBase? Either way,
that can be done later. This patch is
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
2016 Mar 16
2
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...gt; };
> std::vector<Resource> resources;
> + */
>
> struct MemoryFile {
> uint8_t mem_type; // TGSI_MEMORY_TYPE_*
> @@ -1423,8 +1425,8 @@ private:
> void handleLIT(Value *dst0[4]);
> void handleUserClipPlanes();
>
> - Symbol *getResourceBase(int r);
> - void getResourceCoords(std::vector<Value *>&, int r, int s);
> + // Symbol *getResourceBase(int r);
> + // void getResourceCoords(std::vector<Value *>&, int r, int s);
>
> void handleLOAD(Value *dst0[4]);
> void handleSTORE();
> @...
2016 Mar 17
4
[PATCH mesa v2 1/3] nouveau: codegen: Disable more old resource handling code
...bool raw;
uint8_t slot; // $surface index
};
std::vector<Resource> resources;
+ */
struct MemoryFile {
uint8_t mem_type; // TGSI_MEMORY_TYPE_*
@@ -1419,8 +1421,8 @@ private:
void handleLIT(Value *dst0[4]);
void handleUserClipPlanes();
- Symbol *getResourceBase(int r);
- void getResourceCoords(std::vector<Value *>&, int r, int s);
+ // Symbol *getResourceBase(int r);
+ // void getResourceCoords(std::vector<Value *>&, int r, int s);
void handleLOAD(Value *dst0[4]);
void handleSTORE();
@@ -2161,6 +2163,7 @@ Converter::han...
2016 Mar 10
0
[PATCH mesa 3/3] nouveau: Add support for clover / OpenCL kernel input parameters
...it is going to be removed because the idea is to use screen->uniform_bo
>> instead. I'll do this change *after* the compute shaders support on Kepler.
>
> Actually looks like it's only set for nv50 that I can see, shifting
> things over by 0x10. It used to be reflected by getResourceBase, but
> we broke that abstraction... might be nice to get it back somehow,
> perhaps by sending more arguments down to getResourceBase? Either way,
> that can be done later. This patch is
>
> Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
>
--
-Samuel
2016 Mar 16
0
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...bool raw;
uint8_t slot; // $surface index
};
std::vector<Resource> resources;
+ */
struct MemoryFile {
uint8_t mem_type; // TGSI_MEMORY_TYPE_*
@@ -1423,8 +1425,8 @@ private:
void handleLIT(Value *dst0[4]);
void handleUserClipPlanes();
- Symbol *getResourceBase(int r);
- void getResourceCoords(std::vector<Value *>&, int r, int s);
+ // Symbol *getResourceBase(int r);
+ // void getResourceCoords(std::vector<Value *>&, int r, int s);
void handleLOAD(Value *dst0[4]);
void handleSTORE();
@@ -2169,6 +2171,7 @@ Converter::han...
2016 Mar 16
0
[PATCH mesa 6/6] nouveau: codegen: Disable more old resource handling code
...;Resource> resources;
>> + */
>>
>> struct MemoryFile {
>> uint8_t mem_type; // TGSI_MEMORY_TYPE_*
>> @@ -1423,8 +1425,8 @@ private:
>> void handleLIT(Value *dst0[4]);
>> void handleUserClipPlanes();
>>
>> - Symbol *getResourceBase(int r);
>> - void getResourceCoords(std::vector<Value *>&, int r, int s);
>> + // Symbol *getResourceBase(int r);
>> + // void getResourceCoords(std::vector<Value *>&, int r, int s);
>>
>> void handleLOAD(Value *dst0[4]);
>> vo...
2016 Mar 10
3
[PATCH mesa 3/3] nouveau: Add support for clover / OpenCL kernel input parameters
On Thu, Mar 10, 2016 at 10:14 AM, Hans de Goede <hdegoede at redhat.com> wrote:
> Add support for clover / OpenCL kernel input parameters.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 18 +++++++++++++++---
> 1 file changed, 15 insertions(+), 3 deletions(-)
>
> diff --git
2016 Mar 16
13
[PATCH mesa 1/6] tgsi_build: Fix return of uninitialized memory in tgsi_*_instruction_memory
tgsi_default_instruction_memory / tgsi_build_instruction_memory were
returning uninitialized memory for tgsi_instruction_memory.Texture and
tgsi_instruction_memory.Format. Note 0 means not set, and thus is a
correct default initializer for these.
Fixes: 3243b6fc97 ("tgsi: add Texture and Format to tgsi_instruction_memory")
Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
2016 Mar 16
2
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...50_ir::FILE_MEMORY_GLOBAL;
> + case TGSI_FILE_BUFFER: return nv50_ir::FILE_MEMORY_BUFFER;
> + case TGSI_FILE_MEMORY: return nv50_ir::FILE_MEMORY_BUFFER;
> case TGSI_FILE_SAMPLER:
> case TGSI_FILE_NULL:
> default:
> @@ -2191,7 +2191,7 @@ Converter::getResourceBase(const int r)
>
> switch (r) {
> case TGSI_RESOURCE_GLOBAL:
> - sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_GLOBAL, 15);
> + sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_BUFFER, 15);
> break;
> case TGSI_RESOURCE_LOCAL:
> assert(prog->get...
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...ILE_MEMORY: return nv50_ir::FILE_MEMORY_GLOBAL;
+ case TGSI_FILE_BUFFER: return nv50_ir::FILE_MEMORY_BUFFER;
+ case TGSI_FILE_MEMORY: return nv50_ir::FILE_MEMORY_BUFFER;
case TGSI_FILE_SAMPLER:
case TGSI_FILE_NULL:
default:
@@ -2191,7 +2191,7 @@ Converter::getResourceBase(const int r)
switch (r) {
case TGSI_RESOURCE_GLOBAL:
- sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_GLOBAL, 15);
+ sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_BUFFER, 15);
break;
case TGSI_RESOURCE_LOCAL:
assert(prog->getType() == Program::TYPE_COMPUTE);
@@ -...
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...>> + case TGSI_FILE_BUFFER: return nv50_ir::FILE_MEMORY_BUFFER;
>> + case TGSI_FILE_MEMORY: return nv50_ir::FILE_MEMORY_BUFFER;
>> case TGSI_FILE_SAMPLER:
>> case TGSI_FILE_NULL:
>> default:
>> @@ -2191,7 +2191,7 @@ Converter::getResourceBase(const int r)
>>
>> switch (r) {
>> case TGSI_RESOURCE_GLOBAL:
>> - sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_GLOBAL, 15);
>> + sym = new_Symbol(prog, nv50_ir::FILE_MEMORY_BUFFER, 15);
>> break;
>> case TGSI_RESOURCE_LOCAL:...